Device for performance tuning in a system

ABSTRACT

In a storage subsystem, performance tuning is performed with respect to whole logical devices including external storage subsystems that are not directly connected to host computers. 
     Physical storage units presented by the external storage subsystems are defined as logical devices of the storage subsystem itself, and I/O processing requests from the host computers are relayed to those logical devices. At the time of relaying, I/O processing conditions are monitored. When there exists an external storage subsystem whose load is high, then, operating conditions of ports and processors are examined. In the case where the load can be reduced by changing the configuration of those ports and processors, the configuration is changed to reduce the load. In the case where the load can not be reduced, data is migrated from a logical device having a high load to a logical device having a sufficient performance.

BACKGROUND OF THE INVENTION

The present invention relates to a technique of performance tuning ofthe whole storage subsystem having storage subsystems that are notdirectly connected to host computers.

As a result of the recent spread of Internet and adaptation todevelopment of broadband, an amount of information treated by a computersystem increases year by year, and importance of information continuesto increase. Accordingly, in a computer system, it is requested more andmore strongly that a storage used for accumulating information read andwritten by a host computer (particularly a storage subsystem connectedoutside the host computer) should have high reliability, for example, inprotection of the stored data, in addition to large capacity and highperformance.

A disk array system is one method of satisfying these requests together,in a storage subsystem.

In a disk array system, data is distributed and stored into a pluralityof physical storage units arranged in an array, realizing dataredundancy. Namely, high capacity is obtained by providing a pluralityof physical storage units, high performance by operating the physicalstorage units in parallel, and high reliability by data redundancy.

Disk array systems are classified into five classes, the level 1 throughthe level 5, depending on configurations for realizing redundancy (Forexample, D. A. Patterson, G. Gibson and R. H. Kats, “A Case forRedundant Arrays of Inexpensive Disks” (in Proc. ACM SIGMOD, pp. 109 to116, June 1988) (hereinafter, referred to as Non-Patent Document 1)).There are disk array systems arranged such that data is simply dividedand stored into a plurality of physical storage units, without beinggiven redundancy. Such disk array system is called the level 0. In thefollowing, a set of a plurality of physical storage units realizing acertain level described above is referred to as a parity group. Further,a configuration for realizing redundancy is referred to as the RAIDconfiguration.

Costs of constructing a disk-array system and performance andcharacteristics of the constructed disk array system depend on the levelof the disk array system. Thus, frequently, in constructing a disk arraysystem, a plurality of arrays (i.e., sets of disk unit) of differentlevels is used mixedly, depending on the intended purpose of the diskarray system.

Since performance of a disk array system is increased by operating aplurality of physical storage units in parallel, it is required toperform performance tuning, namely, to efficiently distribute data intoa plurality of parity groups depending on details of processing toperform.

Physical storage units constituting a parity group are different intheir costs depending on their performance and capacities. Thus,sometimes, parity groups are each constructed by combining physicalstorage units having performance and capacities different from otherparity groups. In the case of such a disk array system in whichdifferent parity groups have different physical storage units,performance tuning is still more important.

As a technique of realizing performance tuning of a disk array system,may be mentioned, for example, a technique in which a disk array systemmonitors frequency of access from a host computer to stored data andlocates data having higher access frequency onto a physical storage unitof a higher speed (See, for example, Japanese Patent Laid-OpenPublication No. 2000-293317 (hereinafter, referred to as Patent Document1)).

Further, there exists a technique in which, based on a tendency thatprocessing performed in a computer system and I/O accompanying theprocessing are performed according to a schedule made by a user and thusshow daily, monthly and yearly periodicity, a disk array systemaccumulates using states of each physical storage unit and reallocatesdata in consideration of a previously-determined processing schedule(See, for example, Japanese Patent Laid-Open Publication No. 2001-67187(hereinafter, referred to as Patent Document 2)).

As described above, in a disk array system data is distributed intophysical storage units such that the data has been allocated havingredundancy. In order that a host computer does not need to be consciousof actual storage locations of data in the physical storage units,logical addresses used for the host computer to access the physicalstorage units are held separately from actual physical addresses of thephysical storage units, and information indicating correspondencebetween the logical addresses and the physical addresses is held.

Accordingly, in the above-described techniques, when data isreallocated, a disk array system changes the correspondence betweenlogical addresses and physical addresses before the reallocation intothe correspondence after the reallocation. As a result, even after thedata reallocation, a host computer can use the same logical address toaccess the physical storage units. Such data migration within physicalstorage units, which does not affect access from a host computerthereafter, is called host transparent migration.

On the other hand, as a technique of increasing the number of storageunits that can be accessed from a host computer, to cope with increasingamount of information, there is a technique of enabling a host-computerto access storage units to which the host computer can not directlyinput and output owing to, for example, interface mismatching (See, forexample, Japanese Patent Laid-Open Publication No. 10-283272(hereinafter, referred to as Patent Document 3)).

According to the technique disclosed in Patent Document 3, a disk arraysystem to which a host computer can directly input and output sends I/Orequests and the like from the host computer to a disk array system towhich the host computer can not directly input and output.

SUMMARY OF THE INVENTION

It is possible to use the technique disclosed in Patent Document 3 toexpand data storage areas used by a host computer up to a disk arraysystem (an external system) to which the host computer can not directlyinput and output.

However, in the case where an external system is added, there do notexist a function of monitoring the using state, the load state and thelike of the external system from a disk array system to which a hostcomputer can directly input and output, and a function of reallocatingdata. As a result, under the present conditions, the monitoring resultscan not be used to perform performance tuning including the externalsystem.

Hereinafter, a storage subsystem that is not an object of input/outputprocessing of a host computer (i.e., a storage subsystem that is notdirectly connected to the host computer) is referred to as an externalstorage subsystem. Then, considering the above-described situation, anobject of the present invention is to make it possible to performperformance tuning including a plurality of external storage subsystems,in a storage subsystem that is connected with those external storagesubsystems and has a function of relaying I/O requests from the hostcomputer to the external storage subsystems.

To attain the above object, a storage subsystem according to the presentinvention monitors operating conditions of external storage subsystemsconnected to the storage subsystem itself, and carries out performancetuning based on the monitoring result.

In detail, the storage subsystem according to the present invention is astorage subsystem that is connected with one or more computers andpresents a plurality of storage units as logical devices to saidcomputers, comprising: a mapping means which defines a plurality ofstorage units presented by an external storage subsystem having saidplurality of storage units, as said logical devices of said storagesubsystem itself; an I/O processing means which relays I/O processingrequests from said computers to logical devices (external devices)defined from the storage units presented by the external storagesubsystem, among said logical devices of the storage subsystem itself;an operating information acquisition means which monitors said I/Oprocessing means, to acquire operating information of said externaldevices; a configuration change planning means which makes an optimumdata allocation plan in a range of said logical devices (including saidexternal devices) of the storage subsystem itself, based on theoperating information acquired by said operating information acquisitionmeans; and a data reallocation means which reallocates data in thelogical devices (including said external devices) of the storagesubsystem itself, according to the plan made by said configurationchange planning means.

According to the present invention, in a storage subsystem connectedwith a plurality of external storage subsystems that are notinput/output processing objects of host computers, it is possible tocarry out performance tuning of the whole storage subsystem includingthe connected external storage subsystems.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing an entire computer system of a firstembodiment of the present invention;

FIG. 2 is a diagram for explaining a functional configuration and aconnection state of a storage subsystem and an external storagesubsystem of the first embodiment;

FIG. 3 is a diagram for explaining functions of a storage subsystemcontrol unit 112 of the first embodiment;

FIG. 4 is a diagram showing an example of logical-physicalcorrespondence information of the first embodiment;

FIG. 5 is a diagram showing an example of logical storage unit operatinginformation of the first embodiment;

FIG. 6 is a diagram showing an example of physical storage unitattribute information of the first embodiment;

FIG. 7 is a diagram showing an example of the logical storage unitoperating information of the first embodiment;

FIG. 8 is a diagram showing an example of logical storage unit attributeinformation of the first embodiment;

FIG. 9 is a diagram showing an example of physical storage unitoperating information of the first embodiment;

FIG. 10 is a diagram for explaining external storage operatinginformation of the first embodiment;

FIG. 11 is a diagram for explaining a cache amount counter of the firstembodiment;

FIG. 12 is a diagram for explaining an example of port operatinginformation of the first embodiment;

FIG. 13 is a diagram showing an example of port setting information ofthe first embodiment;

FIG. 14 is a diagram showing an example of processor operatinginformation of the first embodiment;

FIG. 15 is a diagram showing an example of a hardware configuration of asubsystem management apparatus of the first embodiment;

FIG. 16 is a diagram showing an example of a hardware configuration of ahost computer of the first embodiment;

FIG. 17 is a diagram showing an example of a hardware configuration of aSAN management terminal of the first embodiment;

FIG. 18A is a diagram for explaining processing to be performed at thetime of occurrence of a read request to the external storage subsystemof the first embodiment;

FIG. 18B is a diagram for explaining processing to be performed at thetime of occurrence of a read request to the external storage subsystemof the first embodiment;

FIG. 19A is a diagram for explaining processing to be performed at thetime of occurrence of a write request to the external storage subsystemof the first embodiment;

FIG. 19B is a diagram for explaining processing to be performed at thetime of occurrence of a write request to the external storage subsystemof the first embodiment;

FIG. 20 shows a processing flow at the time of performance tuning of thestorage subsystem of the first embodiment;

FIG. 21 shows a processing flow of a configuration change planning unitof the first embodiment;

FIG. 22A is a diagram for explaining processing to be performed at thetime of copying data from a first logical storage unit to a secondlogical storage unit of the first embodiment;

FIG. 22B is a diagram for explaining processing to be performed at thetime of copying data from the first logical storage unit to the secondlogical storage unit of the first embodiment;

FIG. 23 shows a processing flow of a configuration change executionprocessing unit of the first embodiment;

FIG. 24 shows a processing flow of the configuration change executionprocessing unit of the first embodiment;

FIG. 25 is a diagram for explaining a procedure of migration betweenexternal storage subsystems of the first embodiment;

FIG. 26 shows a processing flow at the time of data migration within anexternal storage subsystem of the first embodiment;

FIG. 27 is diagram for explaining processing of measuring I/O processingperformance with respect to I/O from a storage subsystem to an externalstorage subsystem of a second embodiment;

FIG. 28 is a diagram for explaining an example of a performancemeasurement result using dummy data sent in the second embodiment;

FIG. 29 is a functional block diagram showing a storage subsystem and anexternal storage subsystem of a third embodiment;

FIG. 30 is an image diagram showing file management by a network filesystem control unit of the third embodiment;

FIG. 31 is a diagram showing an example of file management informationof the third embodiment; and

FIG. 32 shows a processing flow of a reallocation processing unit of thethird embodiment.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Now, embodiments of the present invention will be described referring tothe drawings, although these embodiments do not limit the presentinvention.

First Embodiment

[Entire Configuration]

FIG. 1 is a diagram for explaining an example of a configuration of acomputer system according to a first embodiment of the presentinvention.

As shown in the figure, the computer system comprises: one or more hostcomputers 1 a . . . 1 n (the number of host computers does not matter,and the host computers are representatively referred to as a hostcomputer 1); storage subsystems 20 a . . . 20 n (the number of thestorage subsystems does not matter, and the storage subsystems arerepresentatively referred to as a storage subsystem 20); subsystemmanagement apparatuses 5 used for performing maintenance andadministration of the storage subsystems 20; a first I/O network 61 usedfor I/O processing of the host computers 1 and the storage subsystems20; a network 7 connecting the host computers 1, the storage subsystems20 and the subsystem management apparatuses 5; a SAN management terminal9 performing configuration management of a storage area networkcomprising the host computers 1, I/O networks and the storage subsystems20 a . . . 20 n; storage subsystem 21 (the number of these storagesubsystems does not matter, and these storage subsystems are referred toas external storage subsystems in distinction from the storagesubsystems 20 to which the host computers 1 perform direct input/outputprocessing, and representatively referred to as an external storagesubsystem 21); and a second I/O network 62 connecting the storagesubsystems 20 and the external storage subsystems 21.

Each of the host computers 1 is a computer such as a personal computer(PC), a workstation (WS), a mainframe (MF), or the like. On the hostcomputer 1, run an operating system (hereinafter, referred to as an OS)adapted for the kind of that computer, application programs (AP) thatcan run on the OS and are suitable for various kinds of business oruses, such as a database management system (DBMS), and the like.Although, for the sake of simplicity, the present invention describestwo host computers 1, any number of host computers may exist.

Each of the storage subsystems 20 and the external storage subsystems 21is a storage system of a disk array configuration having a plurality ofphysical storage units put in an array, and provides logical storageunits 8 as data input/output areas to the host computers 1. Further, inthe present embodiment, in addition to the host computers 1, the storagesubsystem 20 a has a function of issuing I/O requests to the externalstorage subsystems 21.

The external storage subsystems 21 are connected not to the first I/Onetwork 61 used by the host computers for input/output processing, butto the second I/O network 62 used by the storage subsystems 20 forinput/output processing. Accordingly, the external storage subsystems 21do not receive an I/O processing request directly from the host computer1, but receive an I/O processing request through the second I/O network62 from the storage subsystem 20 that has received the I/O processingrequest from the host computer 1 through the first I/O network 61.

The subsystem management apparatuses 5 a and 5 b acquires failureinformation, maintenance information, configuration information,performance information and the like of the storage subsystems 20 andthe external storage subsystems 21 from the storage subsystems 20 andthe external storage subsystems 21 respectively, and hold the acquiredinformation. Further, the subsystem management apparatuses 5 a and 5 bprovides user interfaces for management of the storage subsystems 20 andthe external storage subsystems 21.

Here, “management” in the present embodiment means, for example,monitoring of a failure and performance, definition of a configuration,installation of a program running on a storage subsystem, and the like.When, for example, logical storage units 8 are to be set into thestorage subsystem 20 or the external storage subsystem 21, a storagearea for backup of data is to be set, or a pair of storage areas is tobe set which duplicates data, then, the subsystem management apparatus 5a or 5 b receives an instruction from a user, and sends a settinginstruction or setting information to the storage subsystem 20 or theexternal storage subsystem 21.

The first I/O network 61 is used for the host computer 1 to perform I/Oprocessing of various commands and data toward the storage subsystem 20.The second I/O network 62 is used for the storage subsystem 20 toperform I/O processing of various commands and data toward the externalstorage subsystem 21.

A command and data related to an I/O processing request from the hostcomputer 1 to the storage subsystem 20 is transmitted through the firstI/O network 61. And, a command and data related to an I/O processingrequest from the host computer 1 to the external storage subsystem 21 istransmitted to the storage subsystem 20 through the first I/O network61, and then, transmitted from the storage subsystem 20 to the externalstorage subsystem 21 through the second I/O network 62.

The first I/O network 61 and the second I/O network 62 use optical cableor copper wire. And, as a communication protocol used in the first I/Onetwork 61 and the second I/O network 62, may be mentioned Ethernet (aregistered trademark), FDDI, the fiber channel (FC), SCSI, Infiniband,TCP/IP, iSCSI, or the like.

The network 7 is used, for example, for transmitting managementinformation on a failure, maintenance, configuration, performance andthe like of the storage subsystems 20 and 21 from the storage subsystems20 and 21 to the subsystem management apparatuses 5, for transmittingsetting information from the subsystem management apparatuses 5 to thestorage subsystems 20 and 21, and for transmitting the above-mentionedmanagement information on a failure, maintenance, configuration,performance and the like from the subsystem management apparatuses 5 tothe SAN management terminal 9 or the host computers 1. Cable materialand a communication protocol used for the network 7 may be either sameas or different from the cable material and the communication protocolused for the first I/O network 61 and the second I/O network 62.

It is sufficient that the second I/O network 62 and the first I/Onetwork 61 are separated from each other from the viewpoint of networkprocessing logic. In other words, the second I/O network 62 and thefirst I/O network 61 may be physically separated, or may be connected toa common I/O network switch while being logically separated in theirtransmission lines. For example, both paths may be connected to an FCswitch through the fiber channel and the zoning technique may be used inthe FC switch so that the FC switch realizes logically-differentnetworks. In that case, those networks are arranged such that thelogical storage units 8 whose paths are defined to be under ports of theexternal storage subsystems 21 connected only to the second I/O network62 can not be detected by the host computers 1 and can not become directI/O objects.

[Configuration of the Storage Subsystems 20 and the External StorageSubsystems 21]

FIG. 2 is a diagram for explaining hardware configurations of thestorage subsystem 20 and the external storage subsystem 21 and aconnection state between them. Here, description is given taking theexample where I/O network switches 130 are used on the first I/O network61 and the second I/O network 62.

As shown in FIG. 1, the storage subsystem 20 is connected to the hostcomputers 1 through the first I/O network 61, and the external storagesubsystem 21 is connected to the storage subsystem 20 through the secondI/O network 62.

The storage subsystem 20 comprises at least one storage subsystemcontrol unit 112, a shared memory 107, a disk cache 108, physicalstorage units 110 constituting logical storage units 8, and an internalnetwork 109 connecting the storage subsystem control unit 112, theshared memory 107, the disk cache 108 and the storage units 110.

The storage subsystem control unit 112 comprises: an I/O adapter 102having at least one port 104 a for the first I/O network and at leastone port 104 b for the second I/O network; a network adapter 103 havinga port 105 for the network 7; a control processor 100; a local memory101; and a disk adapter 106. The I/O adapter 102, the network adapter103, the control processor 100, the local memory 101 and the diskadapter 106 are connected with one another through an internal bus.

A port 104 a is a target port that is connected to the host computers 1through the first I/O network 61 through the I/O network switches 130,and receives I/O processing requests from the host computers 1.

The port 104 b is an initiator port that is connected to the externalstorage subsystem 21 through the second I/O network 62 through the I/Onetwork switches 131, and sends I/O processing requests to the externalstorage subsystem 21.

The port 105 is connected to the subsystem management apparatus 5 athrough the network 7, and as described above, used for receivingrequest instructions and information from the subsystem managementapparatus 5 a and for sending information at need. For example, the port105 is used for sending configuration information, failure informationand performance information of the storage subsystem 20 to the subsystemmanagement apparatus 5 a.

An I/O processing request from the host computer 1 to the externalstorage subsystem 21 is received at the port 104 a through the first I/Onetwork 61, and sent to the external storage subsystem 21 through theport 104 b and the second I/O network 62.

Here, the ports 104 a and 104 b may be provided not as physicallyseparated ports, but as one port having both functions of an initiatorport and a target port.

The control processor 100 executes programs which controls the storagesubsystem 20. In the present embodiment, a plurality of controlprocessors 100 are provided, and their statuses are set according tocontrol objects of the programs to execute. As described below, thestatuses are set so as to define a control processor for processing I/Ofrom the host computer 1 as a target processor and a control processorprocessing I/O for processing I/O from and to the external storagesubsystem as an initiator processor.

The shared memory 107 and the local memory 101 store programs and datarequired for operating the storage subsystem 20.

The disk adapter 106 connects the storage subsystem control unit 112 andthe internal network 109, and provides an interface with the physicalstorage units 110 which performs input/output processing.

The external storage subsystem 21 is fundamentally similar to thestorage subsystem 20 in their configurations. For example, the externalstorage subsystem 21 comprises: a storage subsystem control unit 120which controls the whole external storage subsystem 21; an I/O adapter123 connecting a port 122 and an internal bus within the storagesubsystem control unit 120; a port 121 for the network 7; and physicalstorage units 124 constituting logical storage units 8.

Further, the port 122 is connected through the second I/O network 62through the I/O network switches to the port 104 b in the I/O adapter102 of the storage subsystem 20.

[Functional Configuration of the Storage Subsystem 20]

Next, functions of the storage subsystem 20 will be described. Thesefunctions are realized when the control processor 100 executes theprograms stored in the shared memory 107 and the local memory 101.Further, data and the like used for realizing these functions will bedescribed also.

FIG. 3 is a diagram for explaining functions of the storage subsystemcontrol unit 112.

The storage subsystem control unit 112 comprises: an I/O networkprocessing unit 200; a network processing unit 201; a command processingunit 202; a logical storage unit operating information processing unit206; a physical storage unit operating information processing unit 207;an external storage area operating information acquisition processingunit 208; a cache hit/miss judgment processing unit 210; a cache amountmanagement unit 212; a port control unit 213; a processor operatinginformation acquisition processing unit 214; a physical storage unit I/Oprocessing unit 215; an external storage I/O processing unit 216; aconfiguration definition processing unit 217; a configuration changeplanning processing unit 218; a configuration change plan executionprocessing unit 219; an external storage unit attribute informationacquisition processing unit 221; and a manager 223. These are stored inthe form of programs in the local memory 101.

Data processed by these processing units or data required for processingis stored as logical-physical correspondence information 203, logicalstorage unit attribute information 204, physical storage unit attributeinformation 205, external storage operating information 209, a cacheamount counter 211, external storage unit attribute information 220,schedule information 222, logical storage unit operating information224, physical storage unit operating information 225, processoroperating information 226, configuration change planning information227, port setting information 228, or port operating information 229, inthe local memory 101 or the shared memory 107 of the storage subsystemcontrol unit 112.

Further, on the local memory 101, there is a timer program (not shown)having time information of the storage subsystem. Sometime, the storagesubsystem may have a plurality of storage subsystem control units 112.In that case, one representative storage subsystem control unit 112 isset in advance through the subsystem management apparatus 5. And, thetime information held by the timer program of the representative storagesubsystem control unit 112 set in advance is stored as common timeinformation in the shared memory 107. The storage subsystem controlunits 112 other than the representative storage subsystem control unit112 refer to the time information stored in the shared memory 107. Owingto this arrangement, all the storage subsystem control units 112 canhave common time information.

Now, details of the above-described processing units and the informationheld by the storage subsystem control unit 112 will be described.

[I/O Network Processing Unit 200]

The I/O network processing unit 200 controls the ports 104 a and 104 band the I/O adapter 102. According to an instruction received from astorage administrator through the subsystem management apparatus 5, theI/O network processing unit 200 sets the ports 104 a and 104 b each atone of three statuses, i.e., an initiator port, a target port and amixed mode.

[Network Processing Unit 201]

The network processing unit 201 controls the network port 105 and thenetwork adapter 103.

[Configuration Definition Processing Unit 217]

The configuration definition processing unit 217 defines correspondencebetween the logical storage units 8 and the physical storage units 110or 124, and stores the correspondence as the logical-physicalcorrespondence information 203 into the shared memory 107.

Generally in a computer system, in order to detect logical storage unitsof storage subsystems connected to the host computer 1, the hostcomputer 1 sends Inquiry command (in the case of SCSI, for example) todetect devices, immediately after activation of the host computer 1.

Similarly, in the present embodiment, immediately after activation ofthe host computer 1, the host computer 1 detects the target port 104 aof the storage subsystem 20 and logical storage units 8 for whichinput/output processing can be performed through the target port 104 a.Then, the configuration definition processing unit 217 sets thecorrespondence between the logical storage units 8 and the physicalstorage units 110 when the logical storage units 8 are defined accordingto a user's instruction. The correspondence between the logical storageunits 8 and the physical storage units 110 is stored as thelogical-physical correspondence information 203 into the shared memory107.

Further, immediately after starting up of the system, or according to anadministrator's instruction, the configuration definition processingunit 217 sends a predetermined command to the external storage subsystem21, to define the logical storage units 8 of the external storagesubsystem 21 as logical storage units 8 of the storage subsystem 20.Then, definition information is stored as the logical-physicalcorrespondence information into the shared memory 107.

In the present embodiment, through the initiator port 104 b, theconfiguration definition processing unit 217 detects the target port 122of the external storage subsystem 21 and the logical storage units 8 forwhich input/output processing can be performed through the target port122. The subsystem management apparatus 5 a receives an instruction fromthe administrator of the storage subsystem 20 to the effect that thedetected logical storage units 8 are set as logical storage units 8 ofthe storage subsystem 20. Then, the subsystem management apparatus 5 asends the received instruction to the storage subsystem 20. Receivingthe instruction, the configuration definition processing unit 217 of thestorage subsystem 20 defines the detected logical storage units 8 aslogical storage units 8 of the storage subsystem 20.

Here, it is possible to arrange such that, when the storage subsystem 20detects the logical storage units 8 for which input/output processingcan be performed in the external storage subsystem 21, the configurationdefinition processing unit 217 automatically defines the detectedlogical storage units 8 as logical storage units 8 of the storagesubsystem 20.

Further, definition of logical storage units 8 is not limited toimmediately after activation of the host computer 1. It is possiblethat, during operation of the system, the configuration definitionprocessing unit 217 receives an instruction from the storage subsystemadministrator to define logical storage units 8.

[Logical-Physical Correspondence Information 203]

Next, will be described the logical-physical correspondence information203 that the configuration definition processing unit 217 stores intothe shared memory 107. As described above, the logical-physicalcorrespondence information 203 is generated and updated by theconfiguration definition processing unit 217. Further, as describedbelow, optimization is performed in performance tuning processing, andalso the configuration change plan execution processing unit 219 updatesthe logical-physical correspondence information 203 when there is achange in the correspondence between the logical storage units 8 and thephysical storage units 110 and 124.

The logical-physical correspondence information 203 stores informationindicating correspondence between logical addresses used by the hostcomputer 1 in order to access the storage units 110 of the storagesubsystem 20 and physical addresses of the storage units 110 and 124 ofthe storage subsystem 20 and external storage subsystem 21.

FIG. 4 shows an example of the logical-physical correspondenceinformation 203. As shown in the figure, the logical-physicalcorrespondence information 203 includes: a logical address storing part600 which stores an addresses of a logical storage apparatus; and aphysical address storing part 601 which stores an addresses of thephysical storage unit 110 that actually store data. The logical-physicalcorrespondence information 203 is generated for each port 104 a.

The logical address storing part 600 comprises: a target logical storageunit number storing part 602 which stores a logical storage unit number(for example, an LU (Logical Unit) number in the case of SCSI) of alogical storage unit 8 (for example, an LU in the case of SCSI, andhereinafter, referred to as a target logical storage unit) detected byaccessing the port-104 a of the storage subsystem 20; a target logicalstorage unit address storing part 603 which stores an address in thetarget logical storage unit; an LDEV number storing part 604 whichstores a logical storage unit number (hereinafter, referred to as anLDEV (Logical Device) number) that is given internally to cover theentire storage subsystem 20; and an LDEV address storing part 605 whichstores its address (hereinafter, referred to as an LDEV address).

Seen from the host computer 1, the target logical storage unit numbersare uniquely determined for each target port 104 a as an input/outputobject, and the host computer 1 uses those LU numbers which performsread/write of data from/to the storage subsystem 20.

A target logical storage unit is defined by associating an LDEV with atarget port. A plurality of LDEVs may be combined to define one targetlogical storage unit. Further, an LDEV assigned to a target logicalstorage unit number may be different or same for each host computer 1.

Further, the physical address storing part 601 stores a physical addresscorresponding to a target logical storage unit number stored in thelogical storage unit number storing part 602.

The physical address storing part 601 comprises: a parity group(PG)number storing part 606 which stores a parity group number; a datastoring part 607 which stores information of a disk unit that storesdata; a parity storing part 608 which stores information on parity; andan external storage storing part 609 which stores g data related to anexternal storage subsystem.

Further, the data storing part 607 comprises a disk unit number storingpart 610 which stores a physical storage unit (disk unit) number and anaddress-in-disk-unit storing part 611 which stores an address in a diskunit. The parity storing part 608 comprises a disk unit number storingpart 612 and an address-in-disk-unit storing part 613 which stores anaddress in a disk unit. The external storage storing part 609 comprises:a port number-disk unit number storing part 614 which stores a portnumber and a physical storage unit number that are used for accessing aphysical storage unit in an external storage subsystem; and a logicalstorage address storing part 615 which stores an address in a disk unit.

The disk unit number storing part 612 and the address-in-disk-unitstoring part 613 store disk units which store redundant datacorresponding to a level of a parity group and its address.

The parity group number storing part 606, the disk unit number storingpart 610 and the address-in-disk-unit storing part 611 store a paritygroup number, a disk unit number and an address for uniquely indicatinga physical address corresponding to a data storage address (which isdetermined by the LDEV number stored in the LDEV number storing part 604and the LDEV address stored in the LDEV address storing part 605) of alogical storage unit.

In the present embodiment, when a target logical storage unitcorresponds to a storage unit address in a parity group consisting ofphysical storage units in the storage subsystem 20, then, the paritygroup number storing part 606 and the data storing part 607 storerespective effective values. And, the external storage storing part 609stores an invalid value (for example, “−1” in FIG. 4).

Further, when a physical address corresponding to a target logicalstorage unit number stored in the logical storage unit number storingpart 602 means a logical storage unit of the external storage subsystem21 (for example, when the logical storage unit number is an entry ofF3), then, the external storage storing part 609 stores an effectivevalues and the data storing part 607 and the parity storing part 608store invalid values (for example, “−1” in FIG. 4).

[Command Processing Unit 202]

Next, will be described the command processing unit 202 that performsprocessing according to an I/O processing request received from the hostcomputer 1. An I/O processing request is a read request, a write requestor a storage subsystem status information acquisition request (forexample, Inquiry command in SCSI) for acquiring configurationinformation, failure information or the like. The command processingunit 202 extracts a logical address of a processing object from an I/Oprocessing request received from the host computer 1. Then, the commandprocessing unit 202 refers to the logical-physical correspondenceinformation 203 to read the corresponding physical address, and performsdata input/output processing or notifies the host computer 1 of thestatus of the target logical storage unit. Details of data input/outputprocessing (data read/write processing) will be described later.

[Logical Storage Unit Attribute Information 204]

The logical storage unit attribute information 204 holds attributeinformation (which is inputted in advance through the subsystemmanagement apparatus 5 or the like) of a logical storage unit 8, suchas, a size, an emulation type, reserve information, path definitioninformation, information on the host computer 1 as an I/O object (an I/Oport identifier of the host computer 1, such as a World Wide Name (WWN)in FC).

FIG. 5 shows an example of data held in the logical storage unitattribute information 204. As shown in the figure, the logical storageunit attribute information 204 is information indicating an identifier(number) of a target port that can be accessed as an input/outputprocessing object from the host computer 1, an identifier (number) of atarget logical storage unit to which input is possible through thetarget port, and a parity group (a physical storage unit) as a mappingdestination corresponding to the address of the target logical storageunit.

The logical storage unit attribute information 204 includes: an IDstoring part 1101 which stores an identifier (ID) of a target port 104a; and a target logical storage unit number storing part 1102 whichstores identifier of a target logical storage unit 8.

The logical storage unit attribute information 204 further comprises: anLDEV number storing part 1103 which stores an identifier (an LDEVnumber) of an LDEV constituting the target logical storage unit storedin the target logical storage unit number storing part 1102; and a PGnumber storing part 1104 which stores an identifier of a parity group(PG) to which the mentioned LDEV belongs.

The logical storage unit attribute information 204 further comprises astorage type storing part 1105 indicating whether a logical storage unit8 is a storage subsystem (such as the storage subsystem 20) that can bedirectly accessed from the host computer 1 through the first I/O network61, or an external storage subsystem that should be accessed through thestorage subsystem 20 and the second I/O network 62.

When the storage type storing part 1105 stores information indicatingthe external storage subsystem 21, then, the storage type storing part1105 stores also an address (for example, WWN in FC, LUN, and the like)required for accessing the external storage subsystem 21 in question.

In addition, the logical storage unit attribute information 204 furthercomprises: an emulation type-capacity storing part 1106 which storesinformation on an emulation type and a capacity; a path definitioninformation storing part 1107; a status information storing part 1108which stores status information of the logical storage unit; and astorage unit performance storing part 1109.

Here, the emulation type is emulation information of the logical storageunit, indicating, for example, whether the logical storage unit is onefor certain kind of mainframe, or a logical storage unit that is anaccess object for an open-architecture type host computer, or a logicalstorage unit that can be accessed from both type of computers. And theinformation on the capacity indicates the capacity of the logicalstorage unit.

The status of a logical storage unit is an online status in which an I/Oprocessing request is received from the host computer 1, a reservestatus in which the logical storage unit is reserved, for example, as astoring destination of a copy (snapshot data) at some point of time ofsome logical storage unit or as a remote copy destination for remotebackup or disaster recovery, a blocked status owing to a failure in thelogical storage unit, or the like.

Further, for the logical storage unit 8, the path definition meansdefining logical storage unit numbers of logical storage units existingunder an I/O port of the storage subsystem, associating those logicalstorage unit numbers with the I/O port, in order that the host computer1 can access the logical storage unit 8 as an input/output object bydesignating a pair of a target port number and a logical storage unitnumber.

[Parity Group (Physical Storage Unit) Attribute Information 205]

Next, will be described attribute information of physical storage units(such as hard disks) constituting each parity group within the storagesubsystem 20 or the external storage subsystem 21.

The physical storage unit attribute information 205 is set in advance bythe administrator of the storage subsystem 20 through the subsystemmanagement apparatus 5 or the like, and stored in the shared memory 107or the local memory 101. The attribute information stored as thephysical storage unit attribute information 205 includes, for example, atype, a reaction velocity and a rotational speed, sustainingperformance, a rotational delay time, a command overhead, RAIDconfiguration information, and the like of physical storage units 110.The RAID configuration information is information that is set when aconfiguration of parity groups is defined, and thus, instead of the RAIDconfiguration information, the information on the configuration of theparity groups may be used.

FIG. 6 shows an example of data stored in the physical storage unitattribute information 205. As shown in the figure, the physical storageunit attribute information 205 includes: a parity group number storingpart 801 which stores a parity group number of a parity group to whichphysical storage units belong; a disk performance index storing part 802which stores performance index information of a disk belongs to theparity group; a RAID level storing part 803 which stores a RAIDconfiguration of the parity group; a detailed configuration storing part804 which stores details of the RAID configuration; a sequential volumestoring part 805 which stores operational attribute information of theparity group; and attribute information 806 indicating a read/writecharacteristic.

The disk performance index storing part 802 holds information such as acommand overhead, a seek time, an average latency and a media transfertime of disks used in the parity group. Further, the information storedin the sequential volume storing part 805 is used when thebelow-mentioned performance tuning is performed. For example, a paritygroup that is considered to be suitable from the viewpoint of the RAIDconfiguration and a disk stripe size is defined as a sequential volume.And, in the subsystem, the logical device (LDEV) having a highersequential access ratio is moved to the parity group in question. And,data of an LDEV having a higher random access ratio is not moved to oris excluded from the parity group defined as a sequential volume.

The below-mentioned performance tuning is performed by the configurationchange planning processing unit 218 when it is required from theviewpoint of performance.

For example, with respect to the parity group having the parity groupnumber “0000” stored in the first line of the figure, it is seen fromthe RAID level storing part 803 and the detailed configuration storingpart 804 that its RAID configuration is RAID5 and 3D1P (i.e., aconfiguration in which four disks constitute the RAID configuration(RAID5), and three disks store data and the remaining one disk storesparity data).

The attribute information 806 stores attribute information indicatingwhether it is a volume that receives only read processing and rejectswrite/update processing.

[Logical Storage Unit Operating Information Processing Unit 206 andLogical Storage Unit Operating Information 224]

With respect to I/O processing to the logical storage units 8 in thestorage subsystem 20, the logical storage unit operating informationprocessing unit 206 acquires operating information related to input andoutput, and holds the acquired information as the logical storage unitoperating information 224 in the shared memory 107 or the local memory101.

Taking a certain time (for example, a second, a minute, or ten minutes)as a unit, and for each of the LDEV constituting the logical storageunits 8 or for each of the logical storage units 8, the logical storageunit operating information processing unit 206 counts the time requiredfor the total I/O processing to the mentioned logical storage unit ofthe storage subsystem 20 per unit of time, to calculate an average I/Oprocessing time per unit of time and to acquire at any time the maximumI/O processing time within one unit of time. Further, the logicalstorage unit operating information processing unit 206 calculates thetotal numbers of I/Os to the logical storage unit in question in oneunit of time, an average I/O counts per unit of time, the maximum I/Ocounts in one unit of time, an average data transfer amount per unit oftime, the maximum data transfer amount per unit of time, and the like.

Further, for each of the LDEVs constituting the logical storage units 8or for each of the logical storage units 8, the logical storage unitoperating information processing unit 206 calculates a cache hit rateper unit of time, based on the value of the cache amount counter, whichis counted by the cache hit/miss judgment processing unit. Further, thelogical storage unit operating information processing unit 206 monitorsa read access time, a write access time, a sequential access time, thetotal occupied time and the like, to calculate a sequential ratio, aread-write ratio, an average disk occupancy rate, the maximum diskoccupancy rate, and the like.

In the present embodiment, the above-mentioned acquired information andcalculated information are held as the logical storage unit operatinginformation 224 in the shared memory 107 or the local memory 101.

FIGS. 7 and 8 show examples of the logical storage unit operatinginformation 224 a and 224 b respectively for each LU number and eachLDEV number, measured, acquired and calculated with respect to thelogical storage units 8 by the logical storage unit operatinginformation processing unit 206.

FIG. 7 is a diagram for explaining an example of data stored in thelogical storage unit operating information 224 a which stores theoperating information of an LU given with a path definition associatedwith the port 104 a. The column 901 of the logical storage unitoperating information 224 a records acquisition times at intervals of asampling time. The column 902 records the logical storage unit numbersof the logical storage units 8 under the port 104 a at each samplingtime; the column 904 an average I/O counts per second (IOPS) of thelogical storage unit concerned at the time concerned; the column 905 themaximum I/O counts per second (IOPS) in the time concerned; the column906 an average data transfer amount per second (MBPS) of the logicalstorage unit concerned in the time concerned; the column 907 the maximumdata transfer amount per second (MBPS) in the time concerned; the column908 an average IO processing time (μs) per second of the logical storageunit concerned in the time concerned; the column 909 the maximum IOprocessing time (μs) per second in the time concerned; the column 910the cache hit rate; the column 911 sequential ratio; and the column 912the read-write ratio.

FIG. 8 is a diagram for explaining an example of data stored in thelogical storage unit operating information 224 b which stores theoperating information of an LDEV. As shown in the figure, the logicalstorage unit operating information 224 b includes sequential read 1004,sequential write (data) 1005, sequential write (parity) 1006, randomread 1007, random write 1008, random write (data) 1009, the totaloccupied time 1010, a read-write ratio 1011, and a sequential ratio1012.

Here, each of the sequential read 1004, the sequential write (data)1005, the sequential write (parity) 1006, the random read 1007, therandom write (data) 1009 and the total occupied time 1010 stores a timeoccupied by disk access for the processing concerned, at eachpredetermined time for each LDEV. Further, the read-write ratio 1011stores a ratio of a read access time to a write access time at eachpredetermined time for each LDEV. The sequential ratio 1012 stores aratio of a sequential access time to the total occupied time at eachpredetermined time for each LDEV.

[Physical Storage Unit Operating Information Processing Unit 207 andPhysical Storage Unit Operating Information 225]

The physical storage unit operating information processing unit 207acquires operating information (physical operating information due toI/O processing to the physical storage units 110, and holds the acquiredinformation as the physical storage unit operating information 225.

Taking a certain time as a unit, and for each physical storage unit 110,the physical storage unit operation information processing unit 207acquires information such as an average I/O processing time, the maximumI/O processing time, an average I/O counts, the maximum I/O counts, anaverage data transfer amount, the maximum data transfer amount, a cachehit rate, a sequential ratio, a read-write ratio, an average diskoccupancy rate, the maximum disk occupancy rate, and the like. Thephysical storage unit operation information processing unit 207 holdsthe acquired information as the physical storage unit operatinginformation 225 in the shared memory 107 or the local memory 101. Thus,the physical storage unit operating information 225 stores results ofmeasurement of times required for I/O processing of the host computer 1to a storage unit.

FIG. 9 shows an example of the physical storage unit operatinginformation 225.

As shown in the figure, the physical storage unit operating information225 includes sequential read 1304, sequential write (data) 1305,sequential write (parity) 1306, random read 1307, random write (data)1308, random write (parity) 1309, the total occupied time 1310, aread-write ratio 1311, and a sequential ratio 1312.

Here, each of the sequential read 1304, the sequential write (data)1305, the sequential write (parity) 1306, the random read 1307, therandom write (data) 1308, the random write (parity) 1309 and the totaloccupied time 1310 stores a time occupied by disk access for theprocessing concerned at a predetermined time for each parity group. Theread-write ratio 1311 stores a ratio of a read access time to a writeaccess time at each predetermined time for each parity group. And, thesequential ratio 1312 stores a ratio of a sequential access time to thetotal occupied time at each predetermined time for each parity group.

Either the logical storage unit operating information processing unit206 and the logical storage unit operating information 224 or thephysical storage unit operating information processing unit 207 and thephysical storage unit operating information 225 can generate the otherinformation based on the data stored in the logical-physicalcorrespondence information 203. Thus, it is sufficient to hold either ofthem.

[External Storage Area Operating Information Acquisition Processing Unit208 and External Storage Operating Information]

The external storage area operating information acquisition processingunit 208 acquires operating information of the external storage, andholds the acquired information as the external storage operatinginformation 209 in the shared memory 107 or the local memory 101.

The external storage area operating information acquisition processingunit 208 measures and acquires, as operating information, response toand throughput of I/O processing requests from the storage subsystem 20to the logical storage units 8 provided by the external storagesubsystem 21, and holds the acquired information as the external storageoperating information 209.

FIG. 10 is a diagram for explaining the external storage operatinginformation 209.

As shown in the figure, the external storage operating information 209includes a time 1801, an initiator port number 1901, a general purposestorage subsystem WWN 1902, a general purpose storage LUN 1903, IOPS1904, MBPS 1905, a response 1906 and a link status 1907.

[Cache Hit/Miss Judgment Processing Unit 210 and Cache Amount Counter211]

The cache hit/miss judgment processing unit 210 is invoked by thecommand processing unit 202 and judges whether data at the objectaddress of a command processed by the command processing unit 202 existson the disk cache 108. FIG. 11 is a diagram for explaining the cacheamount counter 211.

When data at the object address of a command to process exists on thedisk cache 108, then, the cache hit/miss judgment processing unit 210notifies the command processing unit 202 of the existence of the data onthe disk cache 108 and the address of the area where the data exists. Atthat time, hit information counters (not shown) of predetermined areainformation on the disk cache 108 and of the cache amount counter 211 ofthe logical storage unit 8 concerned are incremented by one.

In addition to the above-mentioned hit information, the cache amountcounter 211 holds a data amount (hereinafter, referred to as a dirtyamount) in a dirty state where data exists on the disk cache 108 but hasnot been written into the physical storage units 110 and a data amount(hereinafter, referred to as a clean amount) in a clean state where dataexists both on the disk cache 108 and on the physical storage units 110for each logical storage unit 8, and a dirty amount, a clean amount anda free amount (i.e., a space capacity) of the whole cache, and the totalamount of cache.

[Cache Amount Management Unit 212]

The cache amount management unit 212 manages the amount of data storedin the disk cache 108.

The cache amount management unit 212 controls an interval of activatingthe command processing unit 202 according to the clean amount or dirtyamount of the cache. In detail, the cache amount management unit 212always refers to the counters indicating the dirty amount and the cleanamount of the whole cache, in the cache amount counter 211, to controlthe activation interval as follows. Namely, when the sum of the dirtyamount and the clean amount becomes more than or equal to a certainratio, then, the activation interval of the command processing unit 202is made longer than an ordinary interval, and when the sum becomes lessthan a certain ratio, the activation interval is returned to theordinary activation interval.

When write processing from the host computers 1 is performed frequently,data in the dirty state is accumulated on the disk cache 108. Forexample, when the main power goes off and the subsystem is powered bybuilt-in batteries, then, it is necessary to write data in the dirtystate on the disk cache 108 onto a predetermined physical storage unit.In that case, when the dirty amount is larger, writing of the data takesmuch time, and it is more possible that the data is lost without beingreflected onto the physical storage units.

In the case of employing the RAID configuration, an area which generatesparities should be kept on the cache, and it is necessary to suppressthe amount of write data sent from the host computers 1 to be less thanor equal to a certain amount in the whole cache capacity.

Considering these conditions, the cache amount management unit 212monitors the cache amount and controls operation of the system such thatthe cache amount is always less than or equal to a certain amount.

[Port Control Unit 213, Port Setting Information 228 and Port OperatingInformation 229]

The port control unit 213 manages a data flow rate at each port 104 a or104 b of the storage subsystem 20.

The port control unit 213 measures a data transfer amount and thenumbers of I/Os each time when an I/O processing request is received atan I/O port 104 a or 104 b for each WWN of the host computers 1, tostore the measure values as the port operating information 229 into theshared memory 107 or the local memory 101.

FIG. 12 is a diagram for explaining an example of the port operatinginformation 229. As shown in the figure, the port operating information229 includes a time 1201, a port number 1202, an average IOPS 1204 whichholds an average response time, the maximum IOPS 1205 which holds themaximum response time, an average MBPS 1206 which holds an averagethroughput time, the maximum MBPS 1207 which holds the maximumthroughput time, an average I/O processing time 1208 which holds anaverage I/O processing time, the maximum I/O processing time 1209 whichholds the maximum I/O processing time, a sequential ratio 1210, and aread-write ratio 1211.

Further, the port control unit 213 uses the information held as the portoperating information 229 to perform I/O processing control at theports.

Upper limit setting information of the number of I/Os (IOPS), the datatransfer amount (MBPS) and the like for each WWN of the host computers 1is inputted in advance from the storage subsystem administrator throughthe subsystem management apparatus 5, sent to the storage subsystem 20through the network 7, and stored as the port setting information 228into the memory 107 or the local memory 101.

The port setting information 228 stores the upper limits the lowerlimits and the target values, based on the worst values, average values,the best values and the like of the operating information related to I/Oprocessing with the host computers 1, for each port 104 a or 104 b. Asthe operating information, may be mentioned, for example, throughput(the number of I/Os per unit of time (IOPS) and data transfer amount perunit of time (MBPS)) and response (an I/O processing response time).

To set these values through the subsystem management apparatus 5, testI/Os are sent from the storage subsystem 20 to the external storagesubsystems 21, and response times to those I/Os and the like are takeninto consideration. In the case of the external storage subsystem 21that has performed I/O processing with the host computers 1, informationobtained at the times of the I/O processing is used.

FIG. 13 is a diagram showing an example of the port setting information228.

As shown in the figure, the port setting information 228 includes a portnumber 1400, a status 1401, a connected WWN 1402, the maximum IOPS 1403,the maximum MBPS 1404, the minimum IOPS 1405, the minimum MBPS 1406, atarget IOPS 1407, a target MBPS 1408, a band 1409, and a protocol 1410.

[Processor Operating Information Acquisition Processing Unit 214 andProcessor Operating Information 226]

The processor operating information acquisition processing unit 214measures amounts of time the control processors perform variousprocessing and records the measured values as the processor operatinginformation 226.

FIG. 14 shows an example of the processor operating information 226. Asshown in the figure, the processor operating information 226 includes aprocessor number 1451, a status 1452 and an operating ratio 1453. Here,the status 1452 stores information indicating whether the processor inquestion is a target processor for processing I/O from a host computeror an initiator processor which controls I/O processing with theexternal storage subsystem 21. The status of each processor isdetermined in advance, for example, by the administrator.

[Physical Storage Unit I/O Processing Unit 215]

The physical storage unit I/O processing unit 215 writes data from aphysical storage unit 110 to the disk cache 108, or from the disk cache108 to a physical storage unit 110, according to an I/O processingrequest of the host computer 1.

When there occurs a write processing request from the host computer 1,the command processing unit 202 analyzes the destination of theprocessing request. As a request, when the destination of the processingrequest is a physical storage unit 110 in the storage subsystem 20,then, the command processing unit 202 performs write processing towardthe disk cache 108, and thereafter, the physical storage unit I/Oprocessing unit 215 writes the dirty data into the physical storage unit110 concerned according to an instruction from the command processingunit 202. Hereinafter, processing that the physical storage unit I/Oprocessing unit 215 writes data from the disk cache 108 to a physicalstorage unit 110 is referred to as write-after processing.

Further, when the host computer 1 issues a read processing request, andthe data source of the request does not exist on the disk cache 108 buta physical storage unit 110 in the storage subsystem 20, then, thephysical storage unit I/O processing unit 215 reads from a certainaddress of the physical storage unit 110 in question according to aninstruction of the command processing unit 202.

[External Storage I/O Processing Unit 216]

The external storage I/O processing unit 216 writes data from a physicalstorage unit 124 of the external storage subsystem to the disk cache108, or from the disk cache 108 to the physical storage unit 124,according to an I/O processing request issued by the host computer 1.

When, as a result of analysis by the command processing unit 202, thedestination of a write processing request is the physical storage unit124 in the external storage subsystem 21, then, the external storage I/Oprocessing unit 216 writes the dirty data from the disk cache 108 to thephysical storage unit 124 in question at the time of write-after,according to an instruction of the command processing unit 202.

When, as a result of analysis by the command processing unit 202, theread source of a read processing request does not exist on the diskcache 108 but is the physical storage unit 124 in the external storagesubsystem 21, then, the external storage I/O processing unit 216 readsfrom a certain address of the physical storage unit 124 in question,according to an instruction of the command processing unit 202.

[Configuration Change Planning Processing Unit 218 and ConfigurationChange Planning Information 227]

The configuration change planning processing unit 218 refers to thephysical storage-unit operating information 225, the port operatinginformation 229, the logical storage unit operating information 224, theprocessor operating information 226, the cache amount counter 211 andthe like, to make a configuration change plan according to performancerequirements.

The configuration change planning processing unit 218 is activated bythe manager 223 at predetermined intervals. When host I/O processingperformance of the storage subsystem 20 or the external storagesubsystem 21 deteriorates to more than a predetermined extent from thelevel assumed at the beginning, the configuration change planningprocessing unit 218 plans data reallocation, increase or decrease of thenumber of initiator ports 104 b, and the like, and holds the plan as theconfiguration change planning information 227 in the shared memory 107or the local memory 101. Change of the configuration is required sincethe host I/O processing performance of the storage subsystem 20 changeswith the lapse of time when the system is operated.

The planning information is carried into execution by thebelow-mentioned configuration change plan execution processing unit 219,or held until an instruction of cancellation is received from, forexample, the storage administrator.

The I/O processing performance is judged based on the throughput or theresponse time, for example.

[Configuration Change Plan Execution Processing Unit 219]

The configuration change plan execution processing unit 219 performs theconfiguration change according to the configuration change planninginformation 227, when an instruction to that effect is received from themanager 223. By performing the processing, the storage subsystem 20 andthe external storage subsystem 21 is improved in their performance.

[Schedule Information 222]

The schedule information 222 is information indicating a schedule forvarious processing related to the performance tuning, and is stored inthe shared memory 107 or the local memory 101. The schedule information222 is, for example, timing of making a configuration change plan,timing of executing that plan, and the like.

[Manager 223]

The manager 223 activates the configuration change planning processingunit 218 and the configuration change plan execution processing unit219, according to the schedule information 222.

[External Storage Unit Attribute Information Acquisition Processing Unit221 and External Storage Unit Attribute Information 220]

The external storage unit attribute information acquisition processingunit 221 acquires storage unit attribute information of the externalstorage subsystem 21 from the subsystem management apparatus 5, andstores the acquired information as the external storage unit attributeinformation 220 into the shared memory 107 or the local memory 101. Thisprocessing unit 221 performs the mentioned processing when it isprovided with an I/F which acquires the RAID configuration of theexternal storage subsystem 21 and the type of HDD used in the externalstorage subsystem 21, from the subsystem management apparatus 5 of theexternal storage subsystem 21 through the network 7.

[Subsystem Management Apparatus 5]

FIG. 15 shows an example of a hardware configuration of the subsystemmanagement apparatus 5 according to the present embodiment.

As shown in the figure, the subsystem management apparatus 5 comprises aCPU 301, a memory 302 as an electrically nonvolatile storage unit, alocal disk unit 303, a network adapter 304, a display unit 305, an inputunit 306, and a removable storage drive unit 307, being connected withone another through an internal bus 308.

The CPU 301 executes programs which realize the functions of thesubsystem management apparatus 5.

The memory 302 stores the program to be executed by the CPU 301,information used by those programs, and the like.

The network adapter 304 is an interface with the network 7. Through thenetwork 7, the subsystem management apparatus 5 acquires information onthe system configurations of the storage subsystems 20 and 21, and sendsconfiguration definitions (for example, a definition of the RAIDconfiguration, definitions of the logical storage units and their pathdefinition processing, a snapshot pair definition, and the like)received from the administrator to the storage subsystems 20 and 21.

The input unit 306 and the display unit 305 are interfaces with theadministrator of the storage subsystems 20 and 21. The input unit 306receives input of an instruction of maintenance/administration orrestore processing of the storage subsystem 20 or 21, or input ofinformation (for example, a period and thresholds of resource operatinginformation to be referred to, the time of executing a configurationchange plan, and the like) used for planning of a configuration change.The display unit 305 displays required information.

[Host Computer 1]

FIG. 16 shows an example of a hardware configuration of the hostcomputer 1 according to the present embodiment.

As shown in the figure, the host computer 1 comprises: a CPU 401 whichexecutes given programs; a memory 402 which stores an OS executed by theCPU 401, application programs (hereinafter, referred to as APs), dataused by the APs and the like; a local disk unit 403 which stores the OS,the AP and the data used by the APs; a host bus adapter 404 whichconnects the first I/O network 61 with the host computer 1; a displayunit 405, an input unit 406, a network adapter 408 which connects thenetwork 7 with the host computer 1; a removable storage drive unit 407which controls data read and the like from a portable medium such as aflexible disk; and a local I/O network 409 as an internal bus used whichconnects between the mentioned components and transfers the OS, the APs,data, control data and the like.

As a portable storage medium, an optical disk or a magneto-optical disksuch as CD-ROM, CD-R, CD-RW, DVD or MO, a magnetic disk such as a harddisk or a flexible disk, or the like may be used.

Each processing unit described below reads a program stored on aportable storage medium through the removable storage drive unit 407, orinstalls a program onto the host computer 1 through an external networkor the like.

Further, the host computer 1 may comprises a plurality of CPUs 401, aplurality of local disk units 403, a plurality of memories 402, aplurality of host bus adapters 404 and a plurality of network adapters408.

[SAN Management Terminal 9]

FIG. 17 shows an example of a hardware configuration of the SANmanagement terminal 9 of the present embodiment.

As shown in the figure, the SAN management terminal 9 comprises: a CPU501; a memory 502 as an electrically nonvolatile storage unit; a localdisk unit 503; a network adapter 504; an input unit 506; a display unit505; a removable storage drive unit 507; and a transmission line 508 asan internal bus which connects the mentioned components with one anotherto transmit data, a control instruction, or the like.

The memory 502 stores programs to be executed by the control processor501, information used by those programs, and the like. The controlprocessor 501 executes those programs on the SAN management terminal 9.

The network adapter 504 is an interface with the network 7.

[I/O processing to External Storage Subsystem 21]

Next, a flow of I/O processing to the external storage subsystem 21 willbe described. FIGS. 18A, 18B, 19A and 19B are diagrams for explaining aflow of I/O processing to the external storage subsystem 21.

An I/O processing request from the host computer 1 is received by thestorage subsystem 20 and transferred to the external storage subsystem21. In that case, the disk cache 108 is used even for an I/O processingrequest to the external storage subsystem 21.

First, referring to FIGS. 18A and 18B, will be described processing inthe case where a read request occurs.

When a read processing request is received from the host computer 1, thecommand processing unit 202 analyzes the received request (Step 1601),and converts the address of the object read data (i.e., a target logicaladdress of the target as an input/output object for the host computer 1)into a corresponding pair of an LDEV number and an LDEV address (Step1602).

Next, the cache hit/miss judgment processing unit 210 judges whether thedata at the above-mentioned LDEV address exists on the disk cache 108 ornot (Step 1603).

In the case where it is judged that the data exists on the disk cache108 (i.e., cache hit), the command processing unit 202 read the datafrom the disk cache 108, sends the data to the host computer 1, andthereafter sends a completion report to the host computer 1 (Steps 1604and 1605).

In the case where it is judged in Step 1603 that the data does not existon the disk cache 108 (i.e., cache miss), the command processing unit202 accesses the logical-physical correspondence information 203 tojudge whether the LDEV address determined in Step 1602 exists in thestorage subsystem 20 or the external storage subsystem 21 (Step 1612).

In the case where the LDEV address exists in the storage subsystem 20,the command processing unit 202 sends the data read request togetherwith the I/O processing object address, data length, and the like to thephysical storage unit I/O processing unit 215 (Step 1618). And, thephysical storage unit I/O processing unit 215 performs the I/Oprocessing (Step 1619).

In the case where it is judged in Step 1612 that the LDEV address existsin the external storage subsystem 21, the command processing unit 202sends the received I/O processing request to the external storage I/Oprocessing unit 216 (Step 1615).

Receiving the I/O processing request, the external storage I/Oprocessing unit 216 accesses the external storage subsystem 21 accordingto the address in the I/O processing request, to read the designateddata (Step 1616). Then, the external storage I/O processing unit 216stores the read data to the disk cache 108 (Step 1616), and sends astoring notification to the command processing unit 202 (Step 1617).

Receiving the notification, the command processing unit 202 reads thenotified data from the disk cache 108, and sends the data to the hostcomputer 1 (Step 1621). Thereafter, the command processing unit 202sends a completion report to the host computer 1 (Step 1622).

Next, referring to FIGS. 19A and 19B, will be described processing inthe case where a write processing request occurs.

When a write processing request is received from the host computer 1,the command processing unit 202 analyzes the received request similarlyto the case of a read processing request (Step 1701), and notifies thehost computer 1 that the command processing unit 202 is ready for writeprocessing. Then, the command processing unit 202 converts an address ofthe write data sent thereafter from the host computer 1 (i.e., a targetlogical address of the target as an input/output object for the hostcomputer 1) into a corresponding pair-of an LDEV number and an LDEVaddress (Step 1702).

Then, based on the LDEV address, the cache hit/miss judgment processingunit 210 performs data hit/miss judgment on the disk cache 108 (Step1703).

In the case of cache hit in Step 1703, the command processing unit 202overwrites the received write data into the hit area of the disk cache108. In the case of cache miss, the command processing unit 202 securesa new area in the disk cache 108 and stores the received write data intothe secured new area (Step 1704). Then, the command processing unit 202sends a completion report to the host computer 1 (Step 1705).

When the write data is stored onto the cache, information on the addresson the cache, address information of the physical storage unit to whichthe write data should be stored, and the like are registered asprocessing request information into a dirty queue.

Next, will be described write-after processing for actually writing thedata stored once in the disk cache 108 into the physical storage unit110 or 124.

The physical storage unit I/O processing unit 215 or the externalstorage I/O processing unit 216 refers to the above-mentioned dirtyqueue. In the case where there is a queue to be processed (Step 1711),transfer data (i.e., dirty data) existing on the cache is determined(Step 1712), and the dirty data is read (Step 1713) and written into thephysical storage unit 110 or 124 concerned (Step 1714). When a writecompletion report is received from the physical storage unit 110 or 124concerned (Step 1715), then, the above-mentioned dirty queue isconnected to the clean queue.

[Performance Deterioration]

Before describing the performance tuning processing using theabove-described functions and information, will be described performancedeterioration requiring performance tuning in the storage subsystems ofthe present embodiment.

In the case of the storage subsystem 20 directly connected to the hostcomputer 1, performance is deteriorated owing to, for example, accessinterference.

Namely, the logical storage units 8 that the storage subsystem 20provides to the host computers 1 are provided in parity groups eachincluding a plurality of physical storage units 110. As a result, it ispossible that accesses to different logical storage units 8 seen fromthe host computer 1 are accesses to physical storage units 110 belongingto the same parity group, causing access interference and delaying theprocessing.

Further, performance deterioration of the whole system including theexternal storage subsystems 21 occurs owing to increase of an I/O loador the like.

Now, will be described increase of an I/O load that becomes a cause ofdeteriorating the performance of the system as a whole in a situationthat I/O processing to the external storage subsystem 21 is performedthrough the storage subsystem 20 as in the case of the presentembodiment.

An I/O load to the external storage subsystem 21 is calculated as theproduct of the number of I/O processing requests to the external storagesubsystem 21 and the I/O processing response time. And, as the loadbecomes larger, the I/O processing response time becomes longerfurthermore. Various causes can be considered with respect to such delayof the I/O processing response time that accompanies increase of theload.

For example, a conflict over the port 104 b is one of the causes. I/Oprocessing to the external storage subsystem 21 is performed through thestorage subsystem 20. Sometimes, even when the storage subsystem 20 hasa plurality of such external storage subsystems 21, the storagesubsystem 20 uses the port 104 b commonly for those external storagesubsystems 21 without providing a different initiator port 104 b foreach external storage subsystem 21. In that case, a conflict ofprocessing over the port 104 b on the side of the storage subsystem 20causes delay in I/O processing, which in turn comes up to the surface asthe delay of the I/O processing response time.

Further, a conflict over the control processor 100 can be considered.When the external storage I/O processing unit 216 of the storagesubsystem 20 performs processing of an I/O processing request to theexternal storage subsystem 21, it may occur that the resource of thecontrol processor 100 can not be sufficiently allocated owing to aconflict with I/O processing or the like in the storage subsystem 20.This becomes a cause of time delay in I/O processing responses.

Thus, in the case of a configuration in which external storagesubsystems 21 are connected, it is possible that performancedeterioration as an apparent phenomenon is caused not only byinterference of accesses to physical storage units constituting the sameparity group, but also by a conflict over the port 104 b or the controlprocessor 100. Accordingly, the performance tuning should take thesefactors into consideration.

[Flow of Performance Tuning]

Next, a flow of the performance tuning including the external storagesubsystems 21 and using the above-described functions will be describedin the following. In the present embodiment, first, performance tuningis performed automatically at predetermined time intervals. Namely, itis judged according to the performance schedule information 222 whethera performance improvement function that instructs automatic execution ofvarious processing which makes a configuration change is ON or not. Whenthe performance improvement function is ON, the processing is performed.Here, the processing is performed in the order of configuration changeplanning, performance tuning of the storage subsystems 20, andperformance tuning of the external storage subsystems 21. When theperformance tuning of the external storage subsystems 21 is performed,approval of the administrator is obtained through the managementterminal.

FIG. 20 shows a processing flow at the time of the performance tuning ofthe storage subsystem 20.

The manager 223 refers to the schedule information 222 at certainintervals, to judge whether the performance improvement function of thestorage subsystem 20 is ON, i.e., in a state which performs theperformance tuning (Step 2001). Here, instructions with respect to thetime interval and the performance improvement function are inputted bythe administrator through the subsystem management apparatus 5.

When the performance improvement function of the storage subsystem 20 isON, the manager 223 refers to the performance schedule information 222to judge whether it is a time which updates the configuration changeplanning information 227 (Step 2002).

When it is a time which updates the configuration change planninginformation 227, then, the manager 223 makes the configuration changeplanning processing unit generate the configuration change planninginformation 227 (Step 2031). A detailed processing flow of Step 2031will be described later referring to FIG. 21.

When it is judged in Step 2002 that it is not a time which updates theconfiguration change planning information 227, then, the manager 223refers to the schedule information 222 to judge whether it is a timewhich executes a configuration change plan (Step 2003).

When it is judged in Step 2008 that it is not a time which executes aconfiguration change plan, then, the processing is ended. When it is atime for execution, the manager 223 refers to the configuration changeplanning information 227, to judge whether a configuration change planis stored or not (Step 2004).

When it is judged in Step 2004 that a configuration change plan is notstored, then, the processing is ended. When a configuration change planis stored, the manager 223 refers to the configuration change planninginformation 227 to judge whether there is a configuration change planrelated to the storage subsystem 20 (Step 2005).

When it is judged in Step 2005 that there is stored a change planrelated to the storage subsystem 20, then, the manager 223 makes theconfiguration change plan execution processing unit 219 execute aconfiguration change according to the change plan (Step 2011), and then,the processing goes to Step 2006.

When it is judged in Step 2005 that there is not a change plan relatedto the storage subsystem 20, then, the manager 223 judges whether theconfiguration change planning information 227 stores a plan related tothe external storage subsystem 21 (Step 2006).

When it is judge in Step 2006 that a configuration change plan relatedto the external storage subsystem 21 is not stored, the processing isended. When a configuration change plan related to the external storagesubsystem 21 is stored, then, the manager 223 displays a message on thedisplay unit of the subsystem management apparatus 5 to the effect thatthere is a configuration change plan related to the external storagesubsystem 21, and displays the change plan extracted from theconfiguration change planning information 227, to present them to theadministrator (Step 2007).

When an instruction is received from the subsystem administrator toexecute the above-mentioned configuration change plan displayed asrecommended, then, the manager 223 makes the configuration change planexecution processing unit 219 execute the configuration change (Step2021) and the processing is ended. When an instruction is not received,the processing is ended without executing the change plan.

When a user, who is presented with the configuration change plan throughthe subsystem management apparatus 5, judges the plan to be unnecessary,then, the user can also instruct the subsystem management apparatus 5 tocancel the change plan.

Next, will be described the processing of generating the configurationchange planning information 227 in the above Step 2031. In the presentembodiment, loads on the parity groups are monitored, and when there issome parity group having a high load, then, a configuration change isplanned at need. When the parity group having a high load belongs to astorage subsystem, then, a configuration change is planned employing thetechnique disclosed in Patent Document 2.

When the parity group having a high load belongs to the external storagesubsystem 21, then, as described above, the performance deteriorationmay be caused not by interference of accesses to physical storage unitsconstituting the same parity group, but by a conflict over the initiatorport 104 b or the control processor 100. Accordingly, in the presentembodiment, first it is judged whether the performance deterioration iscaused by a conflict over the initiator port 104 b or the controlprocessor 100. When such a conflict is not a cause, then it is judgedthat the performance deterioration is caused by access interference, anddata reallocation is considered. In the present embodiment, as datareallocation, is made a plan which migrates data from the externalstorage subsystem 21 to the storage subsystem 20. Further, in thepresent embodiment, measures against a conflict over the initiator port104 b and the control processor 100 are prepared each as one ofconfiguration change plans in Step 2031, to obtain permission of theadministrator before execution.

Here, to judge whether the cause of the performance deterioration isother than access interference, various information indicating theconditions of the external storage subsystem 21 is examined. Thementioned various information is information collected in the storagesubsystem 20 such as operating information (such as throughput), astoring state of the cache, and load conditions of the initiator portand the processor.

FIG. 21 shows a processing flow of the configuration change planningprocessing unit 218 at the time of generating the configuration changeplanning information 227.

According to the schedule information 222, the configuration changeplanning processing unit 218 refers to the physical storage unitoperating information 225 to extract a high load parity group, i.e., aparity group of which, for example, the total occupied time 1310indicating I/O processing performance is larger than a predeterminedthreshold (Step 1501).

The configuration change planning processing unit 218 judges whether theparity group extracted in Step 1501 belongs to the storage subsystem 20or the external storage subsystem 21, based on the P.G. number 1302 ofthe physical storage unit operating information 225 (Step 1502).

When it is judged in Step 1502 that the extracted parity group is aparity group in the storage subsystem 20, then, the configuration changeplanning processing unit 218 makes a configuration change planemploying, for example, the technique disclosed in Patent Document 2(Step 1521).

When it is judged in Step 1502 that the extracted parity group is aparity group in the external storage subsystem 21, then, theconfiguration change planning processing unit 218 examines the responsetime and throughput of the initiator port 104 b that performs I/Oprocessing to the external storage subsystem 21 in question, referringto the port operating information 229 and the port setting information228 (Step 1503).

Here, to examine the response time, the average IOPS 1204 of the portoperating information 229 is compared with the target IOPS 1407 of theport setting information 228. And, to examine the throughputperformance, the average MBPS 1206 of the port operating information 229is compared with the target MBPS 1408 of the port setting information228.

When the performance indicated by the average MBPS 1206 and the averageIOPS 1204 exceeds the performance indicated by the values set as thetargets in the port setting information 228, then, the configurationchange planning processing unit 218 judges that there is no problem, andthe processing is ended.

Here, when only the performance indicated by the value of either theaverage MBPS 1206 or the average IOPS 1204 is lower than the performanceindicated by the value set as the target in the port setting information228 (Step 1504), then first, the sequential ratio 1312 of the physicalstorage unit operating information 225 is examined to judge whether databeing sent at that time is sequential data or random data. When thevalue of the sequential ratio 1312 is larger than or equal to apredetermined threshold, i.e., when sequential data is being sent (Step1511), then, it is judged that there is no problem even with a largerresponse time or deteriorating throughput performance, and theprocessing is ended.

On the other hand, when both the response time and the throughputperformance given in the physical storage unit operating information 225are lower than the values given as the target performance in the portsetting information 228 (Step 1504), or when either of the response timeor the throughput performance is lower than the target value and thesequential ratio 1312 is less than the predetermined threshold (Step1511), then, it is possible that a bottleneck exists on the side of thestorage subsystem 20. Namely, it is possible that there is a problem inphysical connection between the storage subsystem 20 and the externalstorage subsystem 21.

In that case, the configuration change planning processing unit 218examines whether the dirty amount in the cache has increased withrespect to the devices concerned (Step 1505). Here, referring to thecache amount counter 211, a ratio of the dirty amount to the total cacheamount is calculated using the clean counter 1804, the dirty counter1805 and the free counter 1806.

When the ratio of the dirty amount is higher than or equal to apredetermined value, then, logical storage units as causes of such aratio are extracted. Namely, with respect to each logical storage unit,its dirty counter 1805 stored in the cache amount counter 211 isexamined to extract the logical storage unit numbers having largecounter values. At that time, a certain number of logical storage unitsmay be extracted counting in descending order of counter value from thelargest one. Or, logical storage units whose counter values arelarger-than a predetermined threshold may be extracted.

In the case where, among the extracted logical storage units, thereexists a logical storage unit of the external storage subsystem 21, thenit is possible that data can not be sent since some problem has occurredin physical connection. Thus, the connecting state is examined (Step1512). When there is a problem in the connecting state, theconfiguration change planning processing unit 218 displays an alertindicating a message to that effect (Step 1522), and the processing isended.

When it is judged in Step 1505 that the dirty amount is less than thepredetermined ratio, or when the dirty amount has increased owing to alogical storage unit of the storage subsystem 20, or when it is judgedin Step 1512 that there is not problem in the connecting state, then,the configuration change planning processing unit 218 examines the stateof load on the initiator port 104 b (Step 1506).

Here, with respect to the initiator port 104 b for the devices judged inStep 1501 to be the high load parity group, the configuration changeplanning processing unit 218 judges whether processing capability hasreached the limit. Namely, the average data transfer amount 1206 andaverage response time 1204 of the port operating information 229 arecompared respectively with the target data transfer amount 1408 and thetarget response time 1407 of the port setting information 228. When theaverage data transfer amount 1206 is less than the target data transferamount 1408, or the average response time 1204 is larger than the targetresponse time 1407, then, it is judged that a high load is applied onthe initiator port 104 b.

When it is judged in Step 1506 that the initiator port 104 b is under ahigh load, then, the configuration change planning processing unit 218judges whether there exists a substitute initiator port 104 b having asurplus capability (Step 1513). In the present embodiment, the targetdata transfer amount 1408 of the port setting information 228 iscompared with the average data transfer amount 1206 of the portoperating information 229, to find an initiator port 104 b whose averagedata transfer amount 1206 does not exceed the target data transferamount 1408 even when the load of the above-mentioned initiator port 104b judged to have a high load is added to the average data transferamount 1206. Such an initiator port 104 b is extracted, being judged tobe a substitute initiator port 104 b.

Then, a configuration change plan is generated such that, in a newconfiguration, the substitute initiator port 104 b is used whichperforms I/O processing to the external storage subsystem 21. Then, thegenerated configuration change plan is stored into the configurationchange planning information 227 (Step 1523), and the processing isended.

Further, when it is judged in Step 1513 that there is not a substituteinitiator port 104 b, then, it is judged whether the load of theinitiator port 104 b judged to have a high load can be distributed intoa plurality of initiator ports 104 b (Step 1514).

When it is judged that there exist a plurality of initiator port 104 bthat can share the load, distributing the load among them, then, aconfiguration change plan is generated such that, in a newconfiguration, these initiator ports 104 b are used which performs I/Oprocessing to the external storage subsystem 21. Then, the generatedconfiguration change plan is stored into the configuration changeplanning information 227 (Step 1524), and the processing is ended.

When it is judged in Step 1514 that there are not a plurality ofsubstitute initiator ports 104 b, then, the processing goes to Step 1508to consider data migration from the external storage subsystem 21 to thestorage subsystem 20.

When it is judged in Step 1505 that the load of the initiator port 104 bis below the limit, then, the configuration change planning processingunit 218 refers to the processor operating information 226 to examinethe operating conditions of the control processor 100 (Step 1507).

When it is judged in Step 1507 that the processor operating ratio ishigher than a predetermined threshold, then, according to proceduressimilar to the above-described case of the initiator port 104 b, theconfiguration change planning processing unit 218 judges whether thereexists a substitute control processor 100 among the processors whosestatus 1452 in the processor operating information 226 is “initiator”(Step 1515), or whether a plurality of control processors 100 can sharethe processing load (Step 1516).

When there exists a substitute control processor 100, then, theconfiguration change planning processing unit 218 generates aconfiguration change plan that uses the substitute control processor 100which performs I/O processing to the external storage subsystem 21, andstores the generated configuration change plan into the configurationchange planning information 227 (Step 1525), and the processing isended.

Or, when there exist a plurality of control processors 100 among whichthe load can be distributed, then, the configuration change planningprocessing unit 218 generates a configuration change plan that usesthose plurality of control processors 100 which performs I/O processingto the external storage subsystem 21, and stores the generatedconfiguration change plan into the configuration change planninginformation 227 (Step 1526), and the processing is ended.

When it is judged in Step 1516 that there exists no substitute controlprocessor 100, then the processing goes to Step 1508 to consider datamigration from the external storage subsystem 21 to the storagesubsystem 20.

Further, when it is judged in Step 1507 that the operating ratio of theprocessor 100 does not exceeds the predetermined threshold, then, theprocessing goes to Step 1508 also.

In Step 1508, the configuration change planning processing unit 218examines the possibility of data migration from the external storagesubsystem 21 to the storage subsystem 20.

To judge whether the storage subsystem 20 has a sufficient spacecapacity which realizes migration of data from the external storagesubsystem 21, the configuration change planning processing unit 218refers to the physical storage unit operating information 225 and spacecapacity management information (not shown) (Step 1509). Here, the spacecapacity management information is a database which manages a capacityand a utilization factor of each parity group.

When, in Step 1509, it is judged based on the physical storage unitoperating information 225 and the space capacity management informationthat the storage subsystem 20 includes a parity group having a spacecapacity sufficient for migrating a capacity of the parity group (of theexternal storage subsystem 21) judged in Step 1501 to have a high load(Step 1510), then, the configuration change planning processing unit 218generates a configuration change plan that migrates the parity group (ofthe external storage subsystem 21) judged in Step 1501 to have a highload to the parity group (of the storage subsystem 20) judges in Step1510 to have sufficient space capacity, and registers the generatedconfiguration change plan into the configuration change planninginformation 227 (Step 1511), and the processing is ended.

When it is judged in Step 1510 that there is no substitute parity group,then alert information is presented to a user to the effect that thereis a problem in I/O processing to the external storage subsystem 21, bynotifying the subsystem management apparatus 5 of the alert information(Step 1527), and the processing is ended.

According to the above-described processing, a configuration change planis made and stored into the configuration change planning information227.

Data migration from the external storage subsystem 21 to the storagesubsystem 20 is effective in performance improvement particularly whendata in a logical storage unit 8 of the external storage subsystem 21 isto be copied to the storage subsystem 20 that is located in a remoteplace for disaster recovery, and when it is desired to use a functionthat exists in the storage subsystem 20 but not in the storage subsystem21, and when a band of the I/O network from the storage subsystem 20 tothe external storage subsystem 21 is narrow and I/O processing to thelogical storage units of the external storage subsystem 21 is frequent,for example.

Further improvement of performance can be expected when data is residentin the disk cache 108 of the storage subsystem 20.

The change of the initiator port 104 b in Step 1523 or 1524 and thechange of the control processor 100 in Step 1525 or 1526 may not beproposed as a configuration change plan, but may be carried out in thoseSteps at a point of time the substitute initiator port(s) 104 b and thesubstitute control processor(s) 100 are determined.

In the present embodiment, the above-described performance tuningpremises that the external storage unit attribute information 220 as theattribute information of the external storage subsystem 21 is held inadvance.

There are cases where the performance of the physical storage units 124of the external storage subsystem 21 can not be evaluated similarly tothe physical storage units 110 in the storage subsystem 20. For example,as I/O processing performed from the storage subsystem 20 through thesecond I/O network 62 is not limited to I/O processing to the logicalstorage units 8 of the external storage subsystem 21 itself, butincludes I/O processing to logical storage units 8 of another externalstorage subsystem. I/O performance with respect to I/Os to the logicalstorage units 8 of the external storage subsystem 21 in question isaffected by a load on the network owing to interference between theabove-mentioned processing and loads on switches. However, it isimpossible to know how large these loads are. Further, sometimes, alsothe external storage subsystem 21 includes a disk cache 108. From thestorage subsystem 20, it is impossible to know whether cache hit occurswithin the external storage subsystem 21.

Thus, in the case where there exist indefinite factors and performanceof disks can not be evaluated, it is favorable that a configurationchange for improvement of performance involves judgment by a storageadministrator of the storage subsystem 20 having a function ofconnecting with the external storage subsystem 21.

[Method of Device Migration Transparent to Host Computer 1]

Next, referring to figures, will be described a method of devicemigration that is transparent to a host.

FIGS. 22A and 22B are diagrams for explaining processing in the casewhere data is copied from a first logical storage unit to a secondlogical storage unit.

Here, description will be given taking an example where a plan made bythe configuration change planning processing unit 218 involves copyingdata in a first internal logical storage unit (LDEV1) 2104 to a secondinternal logical storage unit (LDEV2) 2105.

The command processing unit 202 refers to the logical-physicalcorrespondence information 203 to make the cache hit/miss judgmentprocessing unit 210 allocate a memory area of the disk cache 108 to aphysical address corresponding to a logical address as an I/O processingobject for the host computer 1.

In the case of a write processing request, the physical storage unit I/Oprocessing unit 215 writes data in the allocated memory area into aphysical storage unit 110. In the case of a read processing request, thephysical storage unit I/O processing unit 215 reads data, which is to bestored in the allocated memory area, from a physical storage unit 110.As read data, the command processing unit 202 transfers the data storedin the allocated memory area to the host computer 1.

Here, it is assumed that the host computer 1 performs I/O processing toa logical storage unit 2101 (of the storage subsystem 20) that isidentified by an I/O port address x and a logical storage unit number y.

Further, it is assumed that data of the first internal logical storageunit (LDEV1) 2104 and data of the second internal logical storage unit(LDEV2) 2105 are stored respectively in physical storage units 110constituting a first parity group (PG1) 2108 and in physical storageunits 110 constituting a second parity group (PG2) 2109. And the firstparity group 2108 includes a third internal logical storage unit (LDEV3)2106 in addition to the first internal logical storage unit 2104.Further, the second parity group 2109 includes a fourth internal logicalstorage unit (LDEV4) 2107 in addition to the second internal logicalstorage unit 2105.

However, it is assumed that the second internal logical storage unit(LDEV2) 2105 is in a reserved state, and thus guarded not to become anobject of data input/output from the host computers 1. Further, thesecond internal logical storage unit (LDEV2) 2105 has the same emulationtype as the first internal logical storage unit (LDEV1) 2104.

The configuration change plan execution processing unit 219 copies datain the first internal logical storage unit (LDEV1) 2104 to the secondinternal logical storage unit (LDEV2) 2105.

At that time, in the course of the copy processing, read/writeprocessing requests from the host computers 1 to the first internallogical storage unit (LDEV1) 2104 are received. For example, when awrite processing request is received, the command processing unit 202judges whether data (of the first internal logical unit 2104) whosewrite update is instructed has been already copied to the secondinternal logical storage unit 2105. In the case where the data has notbeen copied to the copy destination, write is simply performed on thecopy source. On the other hand, in the case where the data has beencopied, then, updated data is copied to the copy destination each time.

When all copy processing from the first internal logical storage unit(LDEV1) 2104 as the copy source to the second internal logical storageunit (LDEV2) 2105 as the copy destination is completed at some time T1(Step 2111), except for data to be written into a write area secured inthe cache memory 108 by the command processing unit 202 (i.e., writedata in the middle of processing) and data that exists on the disk cache108 but has not been written to a physical storage unit 110, then, fromthat moment on, the command processing unit 202 queues commandprocessing and reception of write data directed to the first internallogical storage unit 2104, in a buffer memory on the I/O adapter 102,and copies the write data in the middle of processing and the data onthe cache memory 108 to the copy destination. Further, the configurationchange plan execution processing unit 219 makes an exchange ofcorresponding address information of physical storage units in thelogical-physical correspondence information 203 between the firstinternal logical storage unit 2104 as the copy source and the secondinternal logical storage unit 2105 as the copy destination.

At some time T2 after the time T1 (Step 2112), the command processingunit 202 performs processing of the command and write data in the queue,using the logical-physical correspondence information 203 that has beensubjected to the exchange of the correspondence information, and returnsa response to the host computer 1.

Thus, the host computer 1 that is to perform I/O processing to thestorage subsystem 20 performs the I/O processing toward the logicalstorage unit 2101 identified always by the I/O port address x and thelogical storage unit number y. As a result, even when a physicallocation of data is changed, the host computer 1 can continue I/Oprocessing without knowing the change.

In the present embodiment, performance tuning is performed including theconnected external storage subsystem 21. Accordingly, when the I/Oprocessing load on the external storage subsystem 21 increases and therequired performance can not be obtained, a configuration change planincluding data migration from the external storage subsystem 21 to theinternal storage subsystem 20 may be made.

In that case also, host transparent migration can be realized when alogical storage unit 8 of the external storage subsystem 21 as themigration source is taken as the first internal logical storage unit ofthe above description, a logical storage unit 8 of the storage subsystem20 as the migration destination is taken as the second internal logicalstorage unit, and copy processing is performed and the logical-physicalcorrespondence information 203 is rewritten similarly to the abovedescription.

FIG. 23 shows a flow of successive processing by the configurationchange plan execution processing unit 219 at the time of theabove-described host transparent migration.

When data is to be migrated from LDEV1 to LDEV2, a copy pointer (CP) isset to the top address of LDEV1 (Step 2201).

Next, data in LDEV1 is copied by N (bytes) from the address pointed bythe CP (Step 2202). Then, the copy pointer CP is advanced by the amountof the copied data (i.e., N (bytes)) (Step 2203).

Then, the value of CP is compared with the capacity of LDEV1 (Step2204). When the value of CP is less than the capacity of LDEV1, then,CP+N (i.e., the sum of CP and the data amount N (bytes) to be copiednext from LDEV1 to LDEV2) is compared with the capacity of LDEV1 (Step2205). When CP+N is less than the capacity of LDEV1, then, the value ofthe data amount N (Byte) to be copied next is set to ((the capacity ofLDEV1)−CP) (Step 2206).

The flow from Step 2202 to Step 2206 is performed until the evaluationat Step 2204 becomes NO indicating that the amount of the copy carriedout from LDEV1 to LDEV2 becomes the capacity of LDEV1. Then, it isexamined whether there exists write data (to LDEV1) that is on the diskcache 108 but has not been reflected onto the physical storage unit 110(Step 2207).

When there exists such data, then the data is written preferentiallyonto a PG1 disk on which LDEV1 exists (Step 2210).

After the write processing of Step 2210 is finished, the evaluation ofStep 2207 is carried out again. Thus, the processing of Steps 2207 and2210 is repeated until there is no write data (to LDEV1) that is on thedisk cache 108 and has not been reflected onto the physical storage unit110.

Next, it is judged whether the command processing unit 202 secures thedisk cache 108 for LDEV1 and is in the middle of writing into the diskcache 108 (i.e., whether there is write processing in the middle ofprocessing) (Step 2208). When there exists write processing in themiddle of processing, the disk cache 108 is made to perform the writeprocessing and the data is preferentially written onto the PG1 disk onwhich LDEV1 exists (Step 2211).

After the write processing is finished, the evaluation of Step 2208 iscarried out again to judge whether there exists write processing in themiddle of processing. When there is not write processing in the middleof processing, then, I/O processing to LDEV1 among the queued I/Oprocessing is made to enter the wait state which waits for processing bythe command processing unit 202 (Step 2209).

Thereafter, the address map between LDEV and P.G. is changed (Step2212). Namely, the correspondence information in the logical-physicalcorrespondence information 203 is exchanged.

Next, referring to the drawing, will be described processing in the casewhere new write data is processed separately from the copy processing ofSteps 2202 through 2206 and in the course of that copy processing orbefore Step 2209.

FIG. 24 shows a processing flow in the case where new write data isprocessed.

When new write data is processed at the above-mentioned time, then, itis judged whether the data is write data to LDEV1 (Step 2221).

In the case of write data to LDEV1, then the write processing address isextracted (Step 2222), to evaluate the write address and the copypointer (Step 2223).

When it is judged in Step 2223 that the write address is an addresspositioned forward from the copy pointer, the data is written into theaddress in question (Step 2224), and the processing is ended.

On the other hand, when it is judged in step 2223 that the write data isan address positioned backward from the copy pointer, then, the data iswritten into the address WA of LDEV1 and also into the correspondingaddress of LDEV2 as the migration destination (Step 2225), and theprocessing is ended.

Further, when it is judged in Step 2221 that the write data is not writedata to LDEV1, the request in question is processed and the processingis ended.

As described above, according to the present embodiment, even withrespect to a system connected with the external storage subsystem 21that can not be accessed directly from the host computer 1, performancetuning including the external storage subsystem 21 can be performed.

[Data Migration between External Storage Subsystem 21 and a SecondExternal Storage Subsystem 22]

Next, will be described data migration between the external storagesubsystem 21 and a second external storage subsystem 22 each connectedto the storage subsystem 20 through the second I/O network 9.

Here, the external storage subsystem 22 is connected to the storagesubsystem 20 through the second I/O network 62. Further, similarly toother external storage subsystem 21, the external storage subsystem 22is connected with a subsystem management apparatus 5 and with thenetwork 7 through that subsystem management apparatus 5.

In the following, referring to FIG. 25, will be described a procedure ofmigration between the external storage subsystems.

Through the second I/O network 62, the configuration definitionprocessing unit 217 defines the external storage subsystem 22 existingon the second I/O network 62. A method of this definition is differentdepending on a protocol used for I/O processing, although details arenot described since the method does not relate to the inventiondirectly. Then, logical storage units of the external storage subsystem22 are registered as logical storage units of I/O processing objectsinto the logical-physical correspondence information 203.

Here, in the case where access control depending on identifiers of thehost computers 1 has been already set for I/O ports of the externalstorage subsystem 22, then, such access restriction is removed. Indetail, the access restriction is removed according to a user'sinstruction given through the subsystem management apparatus 5 connectedto the external storage subsystem 22. Or, with respect to identifiers ofports used for performing I/O processing to the external storagesubsystem 22 through the second I/O network, the I/O network processingunit 200 of the storage subsystem 20 sets those identifiers asaccess-permitted objects.

After the removal of the access restriction, the storage subsystemcontrol unit 112 of the storage subsystem 20 defines the logical storageunits of the external storage subsystem 22 as physical storage units ofthe storage subsystem 20, and then, defines logical storage units of thestorage subsystem 20. Then, the configuration definition processing unit217 updates/generates the logical-physical correspondence information203 (Step 2801).

Next, using dummy data, I/O processing performance to the externalstorage subsystem 22 is measured (Step 2802).

When the I/O processing performance to the external storage subsystem 22does not satisfy a predetermined expected value (Step 2803), then, thestorage subsystem control unit 112 employs another external storagesubsystem (Step 2804), or performs data migration to the physicalstorage units in the storage subsystem 20 (Step 2805).

When the I/O processing performance to the external storage subsystem 22satisfies the predetermined expected value, or an expected value of I/Oprocessing performance is not required, then, data migration to theexternal storage subsystem 22 is performed (Step 2806).

Data migration is performed according to a method similar to the datamigration between the first logical storage unit of the storagesubsystem 20 to which the logical storage units of the external storagesubsystem 21 defined on the storage subsystem 20 are mapped as thephysical storage units and the second logical storage unit of thestorage subsystem 20 to which the logical storage units of the externalstorage subsystem 22 are mapped as the physical storage units. This hasbeen shown already in FIG. 23, and is not described here again.

[Data Migration within External Storage Subsystem 21]

Next, will be described data migration within the external storagesubsystem 21. FIG. 26 shows a processing flow of the storage subsystemcontrol unit 112 at the time of data migration within the externalstorage subsystem 21.

First and second logical storage units within the external storagesubsystem 21 are I/O processing objects for the storage subsystem 20,and, as already described, the operating information of the first andsecond logical storage units is held in the storage subsystem 20, as I/Oprocessing performance and its history seen from the storage subsystem20.

When the response performance of the second logical storage unit of theexternal storage subsystem 21 deteriorates in comparison with the firstlogical storage unit after a certain point of time, it is consideredthat there is some performance problem. In such a case, the storagesubsystem control unit 112 refers to the logical storage unit operatinginformation 224 to acquire access patterns (the sequential ratios andthe read-write ratios) in the storage subsystem 20 to the logicalstorage units of the external storage subsystem 21 (Step 2701).

Next, the storage subsystem control unit 112 grasps the bias of the I/Oprocessing addresses to the first logical storage unit and to the secondlogical storage unit, based on overlap of I/O object addresses (Step2702).

Here, when the access locality of I/O processing of the host computers 1to the second logical storage unit is lower than the first logicalstorage unit, there is good possibility that I/O object data does notexist in the disc cache 108 in the external storage subsystem 21, andtherefore it is judged that the response performance is low.

When the access ranges are not so different in their locality, then, thestorage subsystem control unit 112 examines data length of I/Oprocessing. Longer data length means a sequential access, and thus it isjudged that cache control on the side of the external storage subsystem21 is performed so that data does not remain on the cache. And,referring to the value of throughput, when a predetermined value isobtained, it is judged that there is no problem (Step 2703).

When data length is shorter, the read-write ratio is examined. When theread ratio in I/O processing to the second logical storage unit ishigher than the read ratio in I/O processing to the first logicalstorage unit, then the storage subsystem control unit 112 judges thatresponse performance is low since data is read not from the disk cachebut from the physical storage unit. Thus, referring to the value ofthroughput, when a predetermined value is obtained, it is judged thatthere is no problem (Step 2704).

When the read ratio to the second logical storage unit is less than theread ratio to the first logical storage unit, then the storage subsystemcontrol unit 112 judges that the access performance is not fullyexhibited for the reason that there is interference of accesses to thephysical storage unit in which the second logical storage unit islocated, or that some fault is inherent in the second logical storageunit and access to the physical storage unit has to be retried insidethe external storage subsystem 21, for example. Thus, the storagesubsystem control unit 112 performs processing for data migration (Step2707).

Referring to space area information held in advance, the storagesubsystem control unit 112 extracts a space area in the external storagesubsystem 21. For example, in the case where the external storagesubsystem 21 is an old-type apparatus, and data in some logical storageunits has been migrated to logical storage units of the storagesubsystem 20, then, an empty logical storage unit whose data has beenmigrated to the logical storage units of the storage subsystem 20 isextracted as a migration destination candidate (Step 2708).

Next, using the above-described method, the storage subsystem controlunit 112 performs I/O processing using dummy data to the logical storageunit as the migration destination, to measure the I/O performance (Step2709).

As a result of the measurement of Step 2709, the storage subsystemcontrol unit 112 selects a logical storage unit (referred to as a thirdlogical storage unit) whose I/O performance satisfies a predeterminedcriterion (Step 2710), and migrates data of the second logical storageunit to the third logical storage unit (Step 2711).

Various migration methods may be employed. And, when the externalstorage subsystem 21 has a function of performing migration of thelogical storage unit transparently to the host computers, similarly tothe storage subsystem 20, then, that function is used. Further, when theexternal storage subsystem 21 does not have a function of performingmigration of the logical storage unit transparently to the hostcomputers, but has a function of generating mirror, then, the externalstorage subsystem 1 generates mirror between the second logical storageunit and the third logical storage unit, and changes the correspondencebetween the P.G. number 605 and the information (a port address and alogical storage unit number) 614 which identifies a logical storage unitof a general-purpose storage, in the logical-physical correspondenceinformation 203 held in the first logical storage unit.

When no control is possible with respect to the external storagesubsystem 21, the storage subsystem control unit 112 performs dataread/write processing to the second and third logical storage units, andchanges the logical-physical correspondence information 203 such thatLDEV mapped onto P.G. providing the second logical storage unit ismapped onto P.G. providing the third logical storage unit (Step 2711).

As described above, in the present embodiment, the storage subsystem 20that controls I/O of the host computers 1 to the external storagesubsystem 21 provides the LU of the external storage subsystem 21 to thehost computers 1, mapping the LU of the external storage subsystem 21 tothe LU of the storage subsystem 20 in order to control I/O to theexternal storage subsystem 21, and holds the configuration information.Further, times required for I/O processing to the external storagesubsystem 21 are measured, and the performance of the networks and theI/O processing performance of the external storage subsystem 21 are heldas the attribute information. Based on these pieces of information, theperformance tuning is carried out.

Thus, in the storage subsystem 20 connected with the external storagesubsystem 21, the present embodiment realizes performance tuningincluding the external storage subsystem 21 considering load conditionsof the storage subsystems including the external storage subsystem 21.

According to the present embodiment, in a storage subsystem that isconnected with a plurality of external storage subsystems, and has afunction of receiving I/O processing requests from host computers tothose external storage subsystems to relay the I/O processing requeststo the external storage subsystems, it is possible not only to carry outperformance management of the resource of the storage subsystem itselfbut also to manage performance information of the storage subsystemincluding the connected external storage subsystems and to use theperformance information to perform performance tuning transparent to thehost computers.

[Introduction of Hierarchical Storage Management Function]

Next, will be described a method of determining data allocation using ahierarchical storage management function in the storage subsystem 20when the external storage subsystem 21 is connected. The presentprocessing is performed by a reallocation planning processing unit (notshown).

The reallocation planning processing unit acquires operating conditionsbetween the external storage subsystem 21 and the host computers 1, fromthe host computers 1, the SAN management terminal 9, or the subsystemmanagement apparatus 5 connected to the external storage subsystem 21.

In formation acquired as the operating conditions is a history of an I/Onetwork band, an average number of I/O processing, the maximum number ofI/O processing, an average data transfer amount, the maximum datatransfer amount, a sequential ratio and a read-write ratio. It isfavorable to acquire a history covering a longer period.

Based on I/O processing amount in the acquired information, thereallocation planning processing unit determines whether data of the LUof the external storage subsystem 21 should be migrated to the storageunits in the storage subsystem 20, or the LU should be presented as LUof the storage subsystem 20 while keeping the data in the externalstorage subsystem 21 and connecting the external storage subsystem 21 tothe storage subsystem 20, or I/O processing should be performed directlywith the host computers 1 as before while keeping the data in theexternal storage subsystem 21. And, the recommended plan is presented toa user.

It is desired that the second I/O network 62 between the storagesubsystem 20 and the external storage subsystem 21 is constructed tohave wider band than or equal to the band of the I/O network between thehost computers 1 and the external storage subsystem 21. However, evenwhen it is not realized for some reason, for example, for the reasonthat the bands between the switches and the storage subsystem 20 arenarrow, it is recommended to keep the data in the external storagesubsystem 21 and connect the external storage subsystem 21 to thestorage subsystem 20 to provide the LU of the external storage subsystem21 as LU of the storage subsystem 20, in the case where it is judgedthat the I/O network can carry out processing, based on the history ofthe maximum number of I/O processing and the maximum data transferamount.

When an instruction is received from the user through the subsystemmanagement apparatus 5 or the like to the effect that the recommendedplan is accepted, then the reallocation planning processing unitperforms the data copy according to the recommended plan presented.

This completes the data allocation using the hierarchical storagemanagement function in connecting the external storage subsystem 21 tothe storage subsystem 20.

In the present embodiment, the storage subsystem 20 monitors I/Oprocessing conditions of the external storage subsystem 21 and analyzeschange in the performance based on its response and the like. However, amethod of monitoring change in the performance of the external storagesubsystem 21 is not limited to this.

For example, in the case where the storage subsystem control unit 112 ofthe storage subsystem 20 can acquire the I/O operating information andthe configuration information of the external storage subsystem 21through the second I/O network 62, the storage subsystem control unit112 sends an acquisition request command to the external storagesubsystem 21 to acquire the I/O operating information and theconfiguration information.

In that case, the correspondence information on the correspondencebetween the logical storage units 8 and the physical storage units 124,the logical storage unit operating information, the port operatinginformation and the like of the external storage subsystem 21 are heldas the logical-physical correspondence information 203, the logicalstorage unit operating information 224, the physical storage unitoperating information 255 by the storage subsystem control unit 112, foreach storage subsystem.

Based on the above-mentioned information, the configuration changeplanning processing unit 218 judges performance deterioration of theexternal storage subsystem 21, and makes a configuration change plan forperformance tuning.

Second Embodiment

Next, as a second embodiment, will be described a technique of acquiringperformance information of the external storage subsystem 21 by issuingan I/O request from the storage subsystem 20 to the external storagesubsystem 21 through the second I/O network 62.

A system configuration of the present embodiment is fundamentallysimilar to the first embodiment. In addition to the configuration of thestorage subsystem 20 of the first embodiment, the storage subsystem 20of the present embodiment has a dummy data generating/sending functionwhich generates and sending dummy data as an I/O request which analyzesthe performance information. In the following, arrangements differentfrom the first embodiment will be mainly described.

For example, by sending a series of data each having a specific datasize to a certain address, I/O processing performance of the externalstorage subsystem 21 can be measured.

Now, will be described a procedure of using the dummy datagenerating/sending function which measures the I/O processingperformance of the external storage subsystem 21.

Dummy data generated by the dummy data generating/sending function isone or more data each having a predetermined size, and after generation,sent in a format according to the protocol of the second I/O network 62.

FIG. 27 shows an image of the processing using the dummy datagenerating/sending function at the time of measuring the performance ofI/O processing from the storage subsystem 20 to the external storagesubsystem 21. Further, FIG. 28 shows an example of a performancemeasurement result 3000 obtained from dummy data sent by the dummy datagenerating/sending function.

According to input received from the administrator, the subsystemmanagement apparatus 5 or the SAN management terminal 9 gives ameasurement instruction to the dummy data generating/sending function,designating a I/O port address, a logical storage number, dummy datalength, a target IOPS of the dummy data, bias of I/O object addresses ofthe mentioned logical storage unit, read processing or write processing,and the like of the external storage subsystem 21. Then, according tothe measurement instruction, the dummy data generating/sending functiongenerates dummy data and sends the dummy data to the designated I/O portof the external storage subsystem.

As shown in FIG. 28, the performance measurement result 3000 includesthe target IOPS, locality, a read-write ratio, a measured IOPS, ameasured MBPS, and response, for each size of sent dummy data.

The target IOPS is a target value for the number of I/O processingcommands issued per second. In the case where the external storagesubsystem 21 or the second I/O network 62 has the processing performanceor the band sufficient which realizes the target value, the storagesubsystem 20 can issue commands whose number almost satisfying thetarget value. By raising the target value step by step, it is possibleto find the I/O processing performance between the storage subsystem 20and the external storage subsystem 21.

Further, by changing the dummy data length, it is possible to find theI/O processing performance between the storage subsystem 20 and theexternal storage subsystem 21 with respect to random access andsequential access.

By designating the bias of I/O object addresses, it is possible to finddifference between the cache hit performance and the cache missperformance as the I/O processing performance between the storagesubsystem 20 and the external storage subsystem 20, since theprobability that the external storage subsystem 21 hits the disk cache108 becomes higher when the bias is larger.

Further, in the case where there is no difference in the processingperformance when I/O processing is performed with respect to a certainsmall address range or when the bias is entirely removed, then, it ispossible that there is a hidden fault such as no disk cache 108 or thedisk cache 108 of very small capacity.

After the measurement, the storage subsystem control unit 112 sends acompletion report to the external storage subsystem 21 that sent themeasurement instruction. Receiving the completion report, the subsystemmanagement apparatus 5 or the SAN management terminal 9 displays thecompletion report on the display unit, and awaits an instruction fromthe administrator. When an instruction of reading the measurement resultis received, the subsystem management apparatus 5 or the SAN terminal 9reads the measurement result information from the storage subsystemcontrol unit 112 through the network 7, and displays the information onthe display unit. The administrator who sees the display can know theI/O processing performance to the external storage subsystem 21 throughthe second I/O network 62.

The dummy data generating/sending function can be used not only duringthe operation, for the storage subsystem 20 to acquire the I/Oprocessing performance of the external storage subsystem 21, but also atthe time of designing an information processing system connected withthe external storage subsystem 21. At the time of designing aninformation processing system, it is necessary to estimate I/Oprocessing performance of the external storage subsystem 21.

When a new storage subsystem 20 is introduced, sometimes a part of datais left in the existing storage subsystem without migrating all the datafrom the storage subsystem used hitherto, in order to suppressintroduction costs.

In such a case, an information processing system is designed taking theremaining storage subsystem as the external storage subsystem 21 of theabove-described embodiment. However, in this case, this remainingstorage subsystem is now accessed, as the external storage subsystem 21,from the host computer 1 through the storage subsystem 20 and the secondI/O network 62. Accordingly, the past I/O processing performance on I/Ofrom the host computer 1 can not be used as it is.

Thus, in the present embodiment, the I/O processing performance of theexternal storage subsystem 21 is estimated by sending dummy data fromthe storage subsystem 20 to the external storage subsystem 21.

For example, by sending a series of data each having a specific datasize to a certain address, the I/O processing performance of theexternal storage subsystem 21 can be measured. As a result, the I/Oprocessing performance with respect to the host computer 1 through thestorage subsystem 20 can be estimated also.

Now, will be described a detailed procedure of estimating theperformance of the external storage subsystem 21 by using theabove-mentioned dummy data generating/sending function of the storagesubsystem 20.

It is assumed that, before introducing a new storage subsystem 20, theI/O processing performance between the storage subsystem that becomesthe external storage subsystem 21 and the host computer 1 is acquired inadvance. First the storage subsystem control unit 112 of the storagesubsystem 20 detects a logical storage unit that can be accessed from aport of the external storage subsystem 21 that in turn can be accessedthrough the second I/O network 62. Then, the dummy datagenerating/sending function sends dummy data to the detected logicalstorage unit according to the below-described procedure, to measure theI/O processing performance of the external storage subsystem 21 throughthe second I/O network 62.

When the I/O processing performance of the external storage subsystem 21satisfies a desired performance, then, the storage subsystem controlunit 112 defines logical storage units of the external storage subsystem21 existing on the second I/O network 62, as logical storage units ofthe storage subsystem 20, in the logical-physical correspondenceinformation 203.

Third Embodiment

[Performance Tuning according to Access Frequency of Data]

Next, as a third embodiment, will be described an embodiment in whichperformance tuning of a system including the external storage subsystem21 is realized according to data access frequency. In the following,different arrangements of the present embodiment from the firstembodiment will be mainly described.

FIG. 29 shows functional configurations of the storage subsystem 20 andthe external storage subsystem 21 in the case where the storagesubsystem 20 is provided with I/F that functions as an NAS (NetworkAttached Storage).

An NAS is a storage device that is directly connected to a network andprovides, for example, a file sharing service to a network client.Characteristically, an NAS can function as an independent file serverthat can share files through a network.

By introducing an NAS, a file server and a storage can be managed in oneapparatus, reducing management objects. Thus, in comparison with a casewhere two apparatuses, a file server and a storage are managedseparately, there is an advantage that a management cost can besuppressed to a low level.

The present embodiment has fundamentally the same functionalconfiguration as the first embodiment. The components that are notdescribed in the following are fundamentally same as ones in the firstembodiment.

Further, the storage subsystem control unit 112 comprises a network filesystem control unit 2401 which realizes an NAS, and is connected,through the network 7, with host computers 1 and information processingsystem client computers to which the host computers 1 provide services.A client computer can access the storage subsystem 20 through an NASprovided by the network file system control unit 2401.

Further, the network file system control unit 2401 comprises: a networkfile I/O processing unit 2402 which controls ports and adapters; a filesystem processing unit 2403 which performs file processing; areallocation processing unit 2404 which plans and executing filereallocation; and file management information 2410 storing filemanagement information. This processing unit substitutes for theconfiguration change planning processing unit 218 and the configurationchange plan execution processing unit 219 of the first embodiment.

Since the storage subsystem control unit 112 has the network file systemcontrol unit 2401 which realizes an NAS, it is possible to manage a filecreation date, the newest access time and an access frequency for eachfile, as described below.

First, referring to the drawing, will be described management of filesand storage unit addresses storing those files by the network filesystem control unit 2401.

FIG. 30 shows an image of the file management by the network file systemcontrol unit 2401.

The network file system control unit 2401 is provided with logicalstorage units or internal logical storage units from the storagesubsystem control unit 112, and manages those units as volumes.

As shown in FIG. 30, a file system in the present embodiment is arrangedsuch that a logical storage unit 2501 is separated into some partitions2502, to make file management easy and to localize effect of a fault.

In the partition 2502, the network file system control unit 2401 createsa boot block 2503, a super block 2504, a cylinder block 2505, an i-nodelist 2506, and a data area 2507.

The super block 2504 stores the management information of the partition2502, and files existing in the super block 2504 are managed by i-nodes.

The i-nodes are held and managed as the i-node list 2512. Further, eachi-node is designated by an i-node number 2511. A content of each i-nodeis directory information or file information.

In the case where an i-node is information on a directory, then as shownin the figure, the entries of the i-node contain directories and filesexisting in that directory. For example, it is seen that an entry of theroot directory 2513 contains a directory dirA, and the i-node number ofdirA is 4.

By hierarchical accessing, it is seen, for example, that a directorydirA/subdirB contains a file FileC and its i-node number is 8. Thei-node of FileC, which is designated by the i-node number 8, contains anowner 2515 of that file, a group name 2516 of the owner, a file type2517 (such as a text file, a binary file, or the like), a last accesstime 2518, a last update time 2519, an i-node entry update time 2520, afile size 2521, disk address information 2522, and the like.

The disk address information 2522 holds a directory 2524 storing thefile 2526 and a location 2525 in that directory 2524. The disk addressinformation 2522 further holds a disk and a block in which the file 2526is located, and an address of a block of the next read data. The addressof the block of the next read data is held in order that the file can beread even when the file is dispersedly located in a plurality of datablocks 2527.

The network file system control unit 2401 includes the file managementinformation 2410. FIG. 31 shows an example of the file managementinformation 2410.

As shown in the figure, the file management information 2410 holds afile name 2411, an index(a file ID) 2412, a file size 2413, a file type2414, a creation time 2415, a last access time 2416, a last update time2417, an access frequency 2418 in a certain period, file importance 2419(if possible), and the like.

Using the file management information, the reallocation processing unit2404 judges necessity of file migration, depending on the time elapsedfrom the creation date, and performs the performance tuning ifnecessary.

Next, referring to the drawing, will be described a series of processesby the reallocation processing unit 2404 according to the presentembodiment, which changes the configuration depending on the accessfrequency. FIG. 32 shows a processing flow by the reallocationprocessing unit 2404.

The reallocation processing unit 2404 refers to the file managementinformation 2410 (Step 2601), sorts the files in the file managementinformation 2410 with respect to the entry of the last file referencedate 2416 (Step 2602), and judges whether there exist files for whichmore than a predetermined time has elapsed from the last reference datesof those files (Step 2603).

When it is judged in Step 2603 that there exist files for which morethan the predetermined time has elapsed, then, the reallocationprocessing unit 2404 extracts those files (Step 2610) to manage them asmigration object files.

When it is judged in Step 2603 that there is no file for which more thanthe predetermined time has elapsed, then, the reallocation processingunit 2404 sorts again the files in the file management information 2410with respect to the entry of the reference frequency (Step 2604) tojudge whether there exist files whose file reference frequencies are 0(Step 2605).

When it is judged in Step 2605 that there exist files whose filereference frequencies are 0, then the reallocation processing unit 2404extracts those files (Step 2611) to manage them as migration objectfiles.

When it is judged in Step 2605 that there exists no file whose filereference frequency is 0, then the reallocation processing unit 2404judges whether there exist files whose file reference frequencies areless than a predetermined value (Step 2606).

When it is judged in Step 2606 that there exist files whose filereference frequencies are less than the predetermined value, then thereallocation processing unit 2404 extracts those files (Step 2607),sorts the extracted files in the file management information 2410 withrespect to the entry of the creation date (Step 2608) to judge whetherthere exist files for which more than a predetermined time has elapsedfrom the creation date (Step 2609).

When it is judged in Step 2609 that there exist files for which morethan the predetermined time has elapsed, then the reallocationprocessing unit 2404 extracts those files (Step 2612) to manage asmigration object files.

Thereafter, the reallocation processing unit 2404 migrates all themigration object files extracted to the logical storage units of theexternal storage subsystem 21 (Step 2613). After the migration, thereallocation processing unit 2404 rewrites the i-nodes (Step 2614) toend the processing.

Here, when there is no file satisfying the condition in Steps 2606 or2809, then, the processing is ended.

Hereinabove, the procedure of changing the configuration depending onthe access frequency has been described.

According to the present embodiment, it is possible to carry outperformance tuning such that, for example, data areas of files for whichthere is no access more than one week or one month from their creationdates are migrated onto the logical storage units of the externalstorage subsystem 21, and data of frequently-accessed files is storedonto the physical storage units 110 of the storage subsystem 20.

Further, it is possible to carry out performance tuning such that thereference frequency 2418 is directly referred to for each file, andfiles whose values of the reference frequency 2418 are less than apredetermined value are migrated onto the logical storage units of theexternal storage subsystem 21, and when the reference frequency 2418rises for some file, then, the storage location of that file is migratedto the physical storage units 110 of the storage subsystem 20.

The present embodiment is effective for a storage subsystem which storesdata (such as web data) that has a higher reference frequencyimmediately after its creation but is scarcely referred to after someten days.

In the first embodiment, a change plan made by the configuration changeplanning processing unit 218 according to an instruction of the manger223 is present to a user, and executed by the configuration change planexecution processing unit 219 after receiving an instruction from theuser. Also in the present embodiment, before execution of Step 2613 inthe above-described procedure, a change plan may be presented to a userto obtain permission of the user.

Thus, according to the present embodiment, in carrying out performancetuning in a storage subsystem connected with an external storagesubsystem, it is possible to locate files in the optimum way, based onthe access frequency of each file. As a result, further, the performanceof the storage subsystem as a whole can be increased.

Before carrying out performance tuning, its necessity is judged on thebasis of the load in the first and second embodiments and the accessfrequency in the third embodiment. However, these do not limit thejudgment criterion for performance tuning. For example, performancetuning may be carry out in such a way that symptoms of a fault in thestorage subsystem itself are detected in advance, before migrating data.

For example, sometimes the regulations of a state require that acorporation should keep its account books, mails, clinical charts forpatients, data in the development of a new medicine, and the like for apredetermined period. In addition, it should be possible to present suchdata within a predetermined time, in response to a demand. A systemhandling such data should satisfy these requests.

Now, will be considered the above-mentioned system where a storagesubsystem performs I/O processing with the host computer 1 through thefirst I/O network 61 and I/O processing with the external storagesubsystem 21 through the second I/O network 62 similarly to the firstembodiment, and the external storage subsystem 21 is an old-typeapparatus and the storage subsystem 20 is a new-type apparatus.

When data of ordinary works is stored in the storage subsystem 20, andaccount books, mails, clinical charts, data in new medicine development,and the like that should be kept according to regulations are stored inthe external storage subsystem 21, then, it is possible that assets areused more efficiently than the case where all data in the old-typeapparatus (i.e., the external storage subsystem 21) is migrated to thenew-type apparatus and then the old-type apparatus is discarded.However, it is highly possible that the life of the old-type apparatusis completed more early than the new-type apparatus, since the old-typeapparatus has been used for a longer period of time.

In that case, the storage subsystem 20 issues I/O processing requests tothe external storage subsystem 21 at certain predetermined intervals, tomeasure the processing performance of the external storage subsystem 21.When, as a result of the measurement, symptoms of a fault hidden in theexternal storage subsystem 21 are detected, data is migrated to anotherstorage subsystem than the external storage subsystem 21.

Here, “another storage subsystem” as the migration destination may bethe storage subsystem 20 or a third storage subsystem that is neitherthe storage subsystem 20 nor the external storage subsystem 21.

When the storage subsystem as the migration destination is an older typesimilarly to the external storage subsystem 21 in comparison with thestorage subsystem 20, or a storage subsystem whose introduction cost ischeaper, then, it is possible to suppress the cost of the storage unitthat stores data having a lower access frequency.

1. A storage control device coupled to a computer and a first storage system, the first storage system including a plurality of storage units, one of which is assigned to a logical unit in the storage control device, the storage control device comprising: a first port coupled to the computer; a second port coupled to the first storage system; and a control unit, coupled to the first port and the second port, which provides the logical unit, converts a first access request for the logical unit received by the first port into a second access request for a first storage unit of the plurality of storage units based on a relationship information including a first relation between the logical unit and the first storage unit, sends the second access request to the first storage system via the second port, and calculates performance of the second access request in the storage control device, wherein the first storage unit of the plurality of storage units is selected by the storage control device based on the relationship information and wherein it is determined whether a conflict over the second port or the control unit exists, whereby the storage control device determines performance of the logical unit in the storage control device.
 2. The storage control device according to claim 1, wherein the performance of the second access request sent from the second port includes information of response time of the second access request between the second port in the storage control device and the first storage system.
 3. The storage control device according to claim 2, wherein the control unit issues a request to the first storage system via the second port so that the storage control device gets configuration information of the first storage unit in the first storage system.
 4. The storage control device according to claim 3, further comprising a third port which is coupled to a second storage system, wherein the storage control device receives data stored into the first storage unit from the first storage system via the second port, and sends the data to a second storage unit in the second storage system via the third port if the response time of the second access request is greater than a threshold, wherein, if the response time is greater than the threshold, the control unit modifies the relationship information to change the first relation into a second relation between the logical unit and the second storage unit whereby the storage control device assigns the logical unit to the second storage unit in the second storage system instead of the first storage unit in the first storage system, the control unit converts the first access request to a third access request to the second storage unit in the second storage system based on the second relation in the relationship information and sends the third access request to the second storage system via the third port.
 5. The storage control device according to claim 4, wherein the control unit creates a first I/O request that is unrelated to any access request from the computer to the first storage system, sends the first I/O request to the first storage unit in the first storage system via the second port, and calculates performance of the first I/O request sent from the second port of the storage control device so that the control unit recognizes the performance of the logical unit through monitoring the performance of the first storage unit in the first storage system.
 6. The storage control device according to claim 5, wherein the control unit creates a second I/O request that is unrelated to any access request from the computer to the second storage system, sends the second I/O request to the second storage unit in the second storage system via the third port, and calculates performance of the second I/O request sent from the third port of the storage control device so that the control unit determines the performance of the second storage unit in the second storage system.
 7. The storage control device according to claim 1, wherein the performance of the second access request sent from the second port includes information of throughput related to the second access request between the second port and the first storage system.
 8. The storage control device according to claim 7, wherein the control unit issues a request from the computer to the first storage system via the second port so that the control unit gets configuration information of the first storage unit of the plurality of storage units in the first storage system.
 9. The storage control device according to claim 8, further comprising a third port which is coupled to a second storage system, wherein the control unit receives data stored into the first storage unit from the first storage system via the second port, and sends the data to a second storage unit in the second storage system via the third port if the throughput related to the second access request is less than a threshold, wherein, if the throughput is less than the threshold, the control unit modifies the relationship information to change the first relation into a second relation between the logical unit and the second storage unit whereby the storage control device assigns the logical unit to the second storage unit in the second storage system instead of the first storage unit in the first storage system, the control unit converts the first access request to a third access request to the second storage unit in the second storage system based on the second relation in the relationship information, and sends the third access request to the second storage system via the third port.
 10. The storage control device according to claim 9, wherein the control unit creates a first I/O request that is unrelated to any access request from the computer to the first storage system, sends the first I/O request to the first storage unit in the first storage system via the second port, and calculates performance of the first I/O request sent from the second port in the storage control device so that the control unit recognizes the performance of the logical unit through monitoring the performance of the first storage unit in the first storage system.
 11. The storage control device according to claim 10, wherein the control unit creates a second I/O request that is unrelated to any access request from the computer to the second storage system, sends the second I/O request to the second storage unit in the second storage system via the third port, and calculates performance of the second I/O request sent from the third port in the storage control device so that the control unit determines the performance of the second storage unit in the second storage system.
 12. The storage control device according to claim 1, wherein the performance information of the second access request sent from the second port includes information of number of I/O requests of the second access request between the second port and the first storage system.
 13. The storage control device according to claim 12, further comprising a third port which is coupled to a second storage system, wherein the control unit receives data stored into the first storage unit in the first storage system via the second port, and sends the data to a second storage unit in the second storage system via the third port if the number of I/O requests is less than a threshold, wherein, if the number of I/O requests is less than the threshold, the control unit modifies the relationship information to change the first relation into a second relation between the logical unit and the second storage unit whereby the storage control device assigns the logical unit to the second storage unit in the second storage system instead of the first storage unit in the first storage system, the control unit converts the first access request to a third access request to the second storage unit in the second storage system based on the second relation in the relationship information and sends the third access request to the second storage system via the third port.
 14. The storage control device according to claim 13, wherein the control unit creates a first I/O request that is unrelated to any access request from the computer to the first storage system, sends the first I/O request to the first storage unit in the first storage system via the second port, and calculates performance of the first I/O request sent from the second port of the storage control device so that the control unit recognizes the performance of the logical device through monitoring the performance of the first storage unit in the first storage system.
 15. The storage control device according to claim 14, wherein the control unit creates a second I/O request that is unrelated to any access request from the computer to the second storage system, sends the second I/O request to the second storage unit in the second storage system via the third port, and calculates performance of the second I/O request sent from the third port of the storage control device so that the control unit determines the performance of the second storage unit in the second storage system.
 16. The storage control device according to claim 1, wherein a plurality of second ports are provided and wherein the storage control device determines whether to increase or decrease the number of the second ports. 